mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
F #3859: Fix double start of monitor probe
This commit is contained in:
parent
e39cb25824
commit
86399bd336
@ -151,8 +151,8 @@ void HostMonitorManager::update_host(int oid, const std::string &xml)
|
||||
{
|
||||
stop_host_monitor(host);
|
||||
}
|
||||
else if (old_state == Host::OFFLINE || old_state == Host::ERROR ||
|
||||
old_state == Host::INIT)
|
||||
else if ((old_state == Host::OFFLINE || old_state == Host::ERROR)
|
||||
&& !host->monitor_in_progress())
|
||||
{
|
||||
start_host_monitor(host);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user