Commit c09f363f authored by Manuel Franceschini's avatar Manuel Franceschini
Browse files

Bugfix: wrong identifier in CheckPrereq message

Reviewed-by: iustinp
parent 2f505cb5
......@@ -2503,7 +2503,7 @@ class LURenameInstance(LogicalUnit):
instance_list = self.cfg.GetInstanceList()
if new_name in instance_list:
raise errors.OpPrereqError("Instance '%s' is already in the cluster" %
instance_name)
new_name)
if not getattr(self.op, "ignore_ip", False):
command = ["fping", "-q", name_info.ip]
......
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