mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
M #-: fix minor issue with vCenter monitor (#1804)
(cherry picked from commit bb4fab49fb2f31912ba834afb9fb626275af8116)
This commit is contained in:
parent
dcae342535
commit
7810538a33
@ -802,7 +802,8 @@ module VCenterDriver
|
||||
found_vm =
|
||||
host_vms
|
||||
.select do |vm|
|
||||
vm['DEPLOY_ID'].eql? vm_ref
|
||||
vm['DEPLOY_ID'] == vm_ref ||
|
||||
vm['DEPLOY_ID'] == VIHelper.get_deploy_id(vm_ref)
|
||||
end.first
|
||||
id = found_vm['ID'] if found_vm
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user