1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

changed shutdown to reboot in reboot server method

This commit is contained in:
Matheus Mina 2013-11-29 16:31:31 -02:00
parent 0f720f4982
commit 62e129d3ea

View file

@ -5,7 +5,7 @@ module Fog
class Real
def reboot_server( ref, stype = 'clean' )
@connection.request({:parser => Fog::Parsers::XenServer::Base.new, :method => "VM.#{stype}_shutdown"}, ref)
@connection.request({:parser => Fog::Parsers::XenServer::Base.new, :method => "VM.#{stype}_reboot"}, ref)
end
end