lib/chef/provisioning/vsphere_driver.rb in chef-provisioning-vsphere-0.4.2 vs lib/chef/provisioning/vsphere_driver.rb in chef-provisioning-vsphere-0.5.0
- old
+ new
@@ -3,11 +3,12 @@
class Chef
module DSL
module Recipe
def with_vsphere_driver(driver_options, &block)
- url, config = ChefProvisioningVsphere::VsphereDriver.canonicalize_url(nil, {:driver_options => driver_options})
- with_driver url, driver_options, &block
+ url = ChefProvisioningVsphere::VsphereDriver.canonicalize_url(
+ nil, driver_options)[0]
+ with_driver url, driver_options, &block
end
end
end
-end
\ No newline at end of file
+end