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:
parent
707f48980c
commit
a9f1d3395f
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user