From 7db596df608abf6c61d62faae7536a75a257d702 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Fri, 10 Aug 2012 11:38:12 +0200 Subject: [PATCH] Fix double use of PRIORITY_OPT in gnt-node migrate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This breaks the command, as optparse considers that an error. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: RenΓ© Nussbaumer <rn@google.com> --- lib/client/gnt_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/gnt_node.py b/lib/client/gnt_node.py index cbf98832e..472ae6840 100644 --- a/lib/client/gnt_node.py +++ b/lib/client/gnt_node.py @@ -1001,7 +1001,7 @@ commands = { MigrateNode, ARGS_ONE_NODE, [FORCE_OPT, NONLIVE_OPT, MIGRATION_MODE_OPT, DST_NODE_OPT, IALLOCATOR_OPT, PRIORITY_OPT, IGNORE_IPOLICY_OPT, - NORUNTIME_CHGS_OPT, SUBMIT_OPT, PRIORITY_OPT], + NORUNTIME_CHGS_OPT, SUBMIT_OPT], "[-f] <node>", "Migrate all the primary instance on a node away from it" " (only for instances of type drbd)"), -- GitLab