Revision 8f684e16 lib/cmdlib.py

b/lib/cmdlib.py
3706 3706
      self.op.name = name
3707 3707
      self.target = self.cfg.GetNodeInfo(name)
3708 3708
    elif self.op.kind == constants.TAG_INSTANCE:
3709
      name = self.cfg.ExpandInstanceName(name)
3709
      name = self.cfg.ExpandInstanceName(self.op.name)
3710 3710
      if name is None:
3711 3711
        raise errors.OpPrereqError("Invalid instance name (%s)" %
3712 3712
                                   (self.op.name,))

Also available in: Unified diff