mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-04 06:01:46 +09:00
M #-: fix minor issue with vCenter monitor (#1804)
(cherry picked from commit bb4fab49fb)
This commit is contained in:
1 parent
dcae342535
commit
7810538a33
1 file changed
+2
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user