mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-27 14:03:40 +03:00
parent
43daf0a587
commit
df899c0ebb
@ -165,7 +165,12 @@ void HostMonitorManager::update_host(int oid, const std::string &xml)
|
||||
{
|
||||
hpool->add_object(xml);
|
||||
|
||||
start_host_monitor(oid);
|
||||
host = hpool->get(oid);
|
||||
|
||||
if (host->state() == Host::HostState::INIT)
|
||||
{
|
||||
start_host_monitor(host);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user