Fix small typo in gnt-node
authorIustin Pop <iustin@google.com>
Fri, 14 Aug 2009 09:46:51 +0000 (11:46 +0200)
committerIustin Pop <iustin@google.com>
Fri, 14 Aug 2009 09:51:40 +0000 (11:51 +0200)
The iallocator option is '-I' not '-i'.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>

scripts/gnt-node

index bb244d5..3303d7a 100755 (executable)
@@ -189,7 +189,7 @@ def EvacuateNode(opts, args):
 
   cnt = [dst_node, iallocator].count(None)
   if cnt != 1:
-    raise errors.OpPrereqError("One and only one of the -n and -i"
+    raise errors.OpPrereqError("One and only one of the -n and -I"
                                " options must be passed")
 
   selected_fields = ["name", "sinst_list"]