mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
M #-: Prevent monitor ERROR looping for vcenter
This commit is contained in:
1 file changed
+1
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user