incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1151413 - /incubator/deltacloud/trunk/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
Date Wed, 27 Jul 2011 10:04:20 GMT
Author: mfojtik
Date: Wed Jul 27 10:04:19 2011
New Revision: 1151413

URL: http://svn.apache.org/viewvc?rev=1151413&view=rev
Log:
Fixed VSphere behavior when no realm_id is set when creating a new instance

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

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb?rev=1151413&r1=1151412&r2=1151413&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb Wed
Jul 27 10:04:19 2011
@@ -213,7 +213,7 @@ module Deltacloud::Drivers::VSphere
           datastore = find_datastore(credentials, opts[:realm_id])
         else
           resourcePool = find_resource_pool(credentials, vm[:datastore])
-          datastore = find_datastore(credentials, opts[:datastore])
+          datastore = find_datastore(credentials, vm[:datastore])
         end
         relocate = { :pool => resourcePool, :datastore => datastore }
         relocateSpec = RbVmomi::VIM.VirtualMachineRelocateSpec(relocate)



Mime
View raw message