projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7213dde
)
Fix double use of PRIORITY_OPT in gnt-node migrate
author
Iustin Pop
<iustin@google.com>
Fri, 10 Aug 2012 09:38:12 +0000
(11:38 +0200)
committer
Iustin Pop
<iustin@google.com>
Fri, 10 Aug 2012 15:02:11 +0000
(17:02 +0200)
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
patch
|
blob
|
history
diff --git
a/lib/client/gnt_node.py
b/lib/client/gnt_node.py
index
cbf9883
..
472ae68
100644
(file)
--- 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)"),