deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1235216 - /deltacloud/trunk/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
Date Tue, 24 Jan 2012 12:09:34 GMT
Author: mfojtik
Date: Tue Jan 24 12:09:34 2012
New Revision: 1235216

URL: http://svn.apache.org/viewvc?rev=1235216&view=rev
Log:
Vsphere: Replaced ResetVM_Task with RebootGuest

Modified:
    deltacloud/trunk/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb

Modified: deltacloud/trunk/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb?rev=1235216&r1=1235215&r2=1235216&view=diff
==============================================================================
--- deltacloud/trunk/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb (original)
+++ deltacloud/trunk/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb Tue Jan 24 12:09:34
2012
@@ -317,7 +317,7 @@ module Deltacloud::Drivers::VSphere
 
     # Reboot an instance, given its id.
     def reboot_instance(credentials, id)
-      find_vm(credentials, id)[:instance].ResetVM_Task
+      find_vm(credentials, id)[:instance].RebootGuest
     end
 
     # Start an instance, given its id.



Mime
View raw message