From 705dd60ea361c0da186c66d2962ced8b6cc9a939 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Mon, 26 Oct 2009 21:21:30 +0900
Subject: [PATCH] Fix gnt-debug breakage due to options move

Commits d3ed23f and 4eb6265 broke gnt-debug due to renamed option
targets. Sorry again!

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 scripts/gnt-debug | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/gnt-debug b/scripts/gnt-debug
index 385ccb833..e34b40919 100755
--- a/scripts/gnt-debug
+++ b/scripts/gnt-debug
@@ -142,11 +142,11 @@ def TestAllocator(opts, args):
                                disks=disks,
                                disk_template=opts.disk_template,
                                nics=nic_dict,
-                               os=opts.os_type,
+                               os=opts.os,
                                vcpus=opts.vcpus,
                                tags=opts.tags,
                                direction=opts.direction,
-                               allocator=opts.allocator,
+                               allocator=opts.iallocator,
                                )
   result = SubmitOpCode(op)
   ToStdout("%s" % result)
-- 
GitLab