Commit c4a73785 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix "gnt-instance rename" functionality

Commit 91e0748c

 (Unify the “--no-ip-check” option) broke the options
variable name for ‘--no-ip-check’ but since we don't have a QA test for
instance rename (only burnin test), this was not caught until Issue 86
was opened.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 94a1b377
......@@ -593,7 +593,7 @@ def RenameInstance(opts, args):
"""
op = opcodes.OpRenameInstance(instance_name=args[0],
new_name=args[1],
ignore_ip=opts.ignore_ip)
ignore_ip=not opts.ip_check)
SubmitOrSend(op, opts)
return 0
......
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