mirror of https://github.com/Icinga/icinga2.git
parent
7fcf8ece72
commit
b26b3a4f65
|
@ -40,6 +40,7 @@ void Zone::OnAllConfigLoaded(void)
|
|||
Array::Ptr endpoints = GetEndpointsRaw();
|
||||
|
||||
if (endpoints) {
|
||||
ObjectLock olock(endpoints);
|
||||
BOOST_FOREACH(const String& endpoint, endpoints) {
|
||||
Endpoint::GetByName(endpoint)->SetCachedZone(this);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue