mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
feature #1020: Bug in result_str in vmware im
This commit is contained in:
parent
4a63ee16c7
commit
27fa295981
@ -73,21 +73,21 @@ def do_action(cmd)
|
||||
end
|
||||
end
|
||||
|
||||
@result_str = ""
|
||||
|
||||
def add_info(name, value)
|
||||
value = "0" if value.nil? or value.to_s.empty?
|
||||
result_str << "#{name}=#{value} "
|
||||
@result_str << "#{name}=#{value} "
|
||||
end
|
||||
|
||||
def print_info
|
||||
puts result_str
|
||||
puts @result_str
|
||||
end
|
||||
|
||||
# ######################################################################## #
|
||||
# Main Procedure #
|
||||
# ######################################################################## #
|
||||
|
||||
result_str = ""
|
||||
|
||||
host = ARGV[2]
|
||||
|
||||
if !host
|
||||
|
Loading…
x
Reference in New Issue
Block a user