1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-08 21:17:43 +03:00

M #-: Prevent monitor ERROR looping for vcenter

This commit is contained in:
Ruben S. Montero 2020-05-25 21:58:28 +02:00
parent 707f48980c
commit a9f1d3395f
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -152,8 +152,7 @@ void HostMonitorManager::update_host(int oid, const std::string &xml)
{
stop_host_monitor(host);
}
else if ((old_state == Host::OFFLINE || old_state == Host::ERROR)
&& !host->monitor_in_progress())
else if (old_state == Host::OFFLINE && !host->monitor_in_progress())
{
start_host_monitor(host);
}