From 8f684e164bad704c70cb076aef94d0bac7876daa Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Mon, 8 Oct 2007 15:10:18 +0000 Subject: [PATCH] Fix tags operations for instances Reviewed-by: imsnah --- lib/cmdlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index 25996873d..d692a3d3e 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -3706,7 +3706,7 @@ class TagsLU(NoHooksLU): self.op.name = name self.target = self.cfg.GetNodeInfo(name) elif self.op.kind == constants.TAG_INSTANCE: - name = self.cfg.ExpandInstanceName(name) + name = self.cfg.ExpandInstanceName(self.op.name) if name is None: raise errors.OpPrereqError("Invalid instance name (%s)" % (self.op.name,)) -- GitLab