From 62e129d3eaaf43c894b60bf45cdf59c3a4070c38 Mon Sep 17 00:00:00 2001 From: Matheus Mina Date: Fri, 29 Nov 2013 16:31:31 -0200 Subject: [PATCH] changed shutdown to reboot in reboot server method --- lib/fog/xenserver/requests/compute/reboot_server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/xenserver/requests/compute/reboot_server.rb b/lib/fog/xenserver/requests/compute/reboot_server.rb index 77b912ef9..37d6ce59c 100644 --- a/lib/fog/xenserver/requests/compute/reboot_server.rb +++ b/lib/fog/xenserver/requests/compute/reboot_server.rb @@ -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