mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +03:00
feature #1791: save_as "hot" parameter must be boolean
This commit is contained in:
parent
dcf9ad4b5c
commit
63ef494d6f
@ -282,7 +282,8 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
"the image #{image_name}"
|
||||
|
||||
helper.perform_action(args[0],options,verbose) do |vm|
|
||||
res = vm.save_as(disk_id, image_name, image_type, options[:hot])
|
||||
res = vm.save_as(disk_id, image_name, image_type,
|
||||
options[:hot]==true)
|
||||
|
||||
if !OpenNebula.is_error?(res)
|
||||
puts "Image ID: #{res}"
|
||||
|
Loading…
Reference in New Issue
Block a user