mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user