From f6a3270823e1c6f1ab5f0a014b4106947051210a Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Fri, 14 Aug 2009 11:46:51 +0200
Subject: [PATCH] Fix small typo in gnt-node

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gnt-node b/scripts/gnt-node
index bb244d586..3303d7ad9 100755
--- a/scripts/gnt-node
+++ b/scripts/gnt-node
@@ -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"]
-- 
GitLab