From ab93320f0e0443490dd820abf3f7e30613d84ab4 Mon Sep 17 00:00:00 2001 From: Ricardo Diaz Date: Tue, 29 Sep 2020 14:55:55 +0200 Subject: [PATCH] B #5018: Hosts in ERR state on vCenter restart (#255) Signed-off-by: Ricardo Diaz --- src/im_mad/remotes/lib/vcenter_cluster.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/im_mad/remotes/lib/vcenter_cluster.rb b/src/im_mad/remotes/lib/vcenter_cluster.rb index b59260e1cc..3c4a8707dc 100644 --- a/src/im_mad/remotes/lib/vcenter_cluster.rb +++ b/src/im_mad/remotes/lib/vcenter_cluster.rb @@ -825,7 +825,7 @@ class ClusterSet next unless (Time.now.to_i - last_mon) > probe_frequency # Refresh the vCenter connection in the least frequent probe - if probe_name.eql?('system_host') + if probe_name.eql?(:system_host) c[:cluster].connect_vcenter end