From 7db596df608abf6c61d62faae7536a75a257d702 Mon Sep 17 00:00:00 2001 From: Iustin Pop 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=utf8 Content-Transfer-Encoding: 8bit This breaks the command, as optparse considers that an error. Signed-off-by: Iustin Pop Reviewed-by: René Nussbaumer --- 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 cbf9883..472ae68 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] ", "Migrate all the primary instance on a node away from it" " (only for instances of type drbd)"), -- 1.7.10.4