Revision 819cbfe5 lib/cli.py

b/lib/cli.py
360 360
  kind = opts.tag_type
361 361
  if kind == constants.TAG_CLUSTER:
362 362
    retval = kind, kind
363
  elif kind == constants.TAG_NODE or kind == constants.TAG_INSTANCE:
363
  elif kind in (constants.TAG_NODEGROUP,
364
                constants.TAG_NODE,
365
                constants.TAG_INSTANCE):
364 366
    if not args:
365 367
      raise errors.OpPrereqError("no arguments passed to the command")
366 368
    name = args.pop(0)

Also available in: Unified diff