From 90ed09b092aab24babb633072f0ff091105f9655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Nussbaumer?= <rn@google.com> Date: Mon, 5 Jul 2010 16:31:29 +0200 Subject: [PATCH] Fix a broken commandline switch option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: RenΓ© Nussbaumer <rn@google.com> Reviewed-by: Michael Hanselmann <hansmi@google.com> Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- scripts/gnt-instance | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gnt-instance b/scripts/gnt-instance index 6e2e84f84..6d0b256df 100755 --- a/scripts/gnt-instance +++ b/scripts/gnt-instance @@ -621,7 +621,7 @@ def RenameInstance(opts, args): @return: the desired exit code """ - if not opts.check_name: + if not opts.name_check: if not AskUser("As you disabled the check of the DNS entry, please verify" " that '%s' is a FQDN. Continue?" % args[1]): return 1 @@ -629,7 +629,7 @@ def RenameInstance(opts, args): op = opcodes.OpRenameInstance(instance_name=args[0], new_name=args[1], ignore_ip=not opts.ip_check, - check_name=opts.check_name) + check_name=opts.name_check) SubmitOrSend(op, opts) return 0 -- GitLab