mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
This commit is contained in:
parent
52e36b057f
commit
e28c737bc3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user