mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
This commit is contained in:
1 parent
52e36b057f
commit
e28c737bc3
1 file changed
+2
-2
@@ -60,8 +60,8 @@ begin
|
||||
vi_client = VCenterDriver::VIClient.new_from_host(host_id)
|
||||
one_vm = VCenterDriver::VIHelper.one_item(OpenNebula::VirtualMachine, vm_id)
|
||||
|
||||
if drv_action.retrieve_xmlelements("USER_TEMPLATE/VCENTER_TAG").size > 0
|
||||
raise "vShepre automation gems are not installed" unless REST_CLIENT
|
||||
if !drv_action.retrieve_xmlelements('USER_TEMPLATE/VCENTER_TAG').empty?
|
||||
raise 'vShepre automation gems are not installed' unless REST_CLIENT
|
||||
end
|
||||
|
||||
if deploy_id_valid?(deploy_id)
|
||||
|
||||
Reference in new issue
Block a user