1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Feature #1224: Fix bug in onevm snapshot-revert

This commit is contained in:
Carlos Martín 2013-02-20 16:56:53 +01:00
parent f2dce5f9c3
commit 1f6ed22d49

View File

@ -640,7 +640,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
command :"snapshot-revert", snapshot_revert_desc, :vmid, :snapshot_id do
helper.perform_action(args[0],options,"snapshot reverted") do |o|
o.snapshot_revert(args[1])
o.snapshot_revert(args[1].to_i)
end
end