mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-24 21:34:01 +03:00
feature #595: im driver -l option does not get parameters
This commit is contained in:
parent
2b321e2687
commit
1202c18267
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user