From 1202c182679c19e03393faa50241d1b12db00bc0 Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Wed, 15 Jun 2011 19:15:33 +0200 Subject: [PATCH] feature #595: im driver -l option does not get parameters --- src/im_mad/im_exec/one_im_exec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/im_mad/im_exec/one_im_exec.rb b/src/im_mad/im_exec/one_im_exec.rb index 4346d29b1e..2d14ba2767 100755 --- a/src/im_mad/im_exec/one_im_exec.rb +++ b/src/im_mad/im_exec/one_im_exec.rb @@ -76,7 +76,7 @@ end opts = GetoptLong.new( [ '--retries', '-r', GetoptLong::OPTIONAL_ARGUMENT ], [ '--threads', '-t', GetoptLong::OPTIONAL_ARGUMENT ], - [ '--local', '-l', GetoptLong::REQUIRED_ARGUMENT ] + [ '--local', '-l', GetoptLong::NO_ARGUMENT ] ) hypervisor = '' @@ -92,7 +92,7 @@ begin when '--threads' threads = arg.to_i when '--local' - local_actions=OpenNebulaDriver.parse_actions_list(arg) + local_actions={ 'MONITOR' => nil } end end rescue Exception => e