mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
M #-: Better trigger for sync state messages
This commit is contained in:
2 files changed
+10
-4
No files matched your search
@@ -151,7 +151,8 @@ void HostMonitorManager::update_host(int oid, const std::string &xml)
|
||||
{
|
||||
stop_host_monitor(host);
|
||||
}
|
||||
else if (old_state == Host::OFFLINE)
|
||||
else if (old_state == Host::OFFLINE || old_state == Host::ERROR ||
|
||||
old_state == Host::INIT)
|
||||
{
|
||||
start_host_monitor(host);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user