B #5018: Hosts in ERR state on vCenter restart (#255)

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
This commit is contained in:
Ricardo Diaz authored and GitHub committed 2020-09-29 14:55:55 +02:00
1 parent b861775190
commit ab93320f0e
1 file changed
+1 -1
+1 -1
View File
@@ -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