From bc70f194c7ee9565e95f690a46e93d0a1ddc4e5e Mon Sep 17 00:00:00 2001 From: Ricardo Diaz Date: Tue, 29 Sep 2020 14:56:19 +0200 Subject: [PATCH] B #5018: Hosts in ERR state on vCenter restart (#256) Signed-off-by: Ricardo Diaz (cherry picked from commit 83ff157de5e51b28f893e4f2c358054e0a94657e) --- 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 7fc828a277..549eaa094f 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