From 7810538a33577ea4eacfff4555546fb8ae49c1b0 Mon Sep 17 00:00:00 2001 From: Alejandro Huertas Herrero Date: Tue, 22 Feb 2022 19:29:52 +0100 Subject: [PATCH] M #-: fix minor issue with vCenter monitor (#1804) (cherry picked from commit bb4fab49fb2f31912ba834afb9fb626275af8116) --- src/vmm_mad/remotes/lib/vcenter_driver/host.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vmm_mad/remotes/lib/vcenter_driver/host.rb b/src/vmm_mad/remotes/lib/vcenter_driver/host.rb index 4429199223..41656d6e84 100644 --- a/src/vmm_mad/remotes/lib/vcenter_driver/host.rb +++ b/src/vmm_mad/remotes/lib/vcenter_driver/host.rb @@ -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