Commit 8f684e16 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix tags operations for instances

Reviewed-by: imsnah
parent 334d1483
......@@ -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,))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment