mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
parent
7fcf8ece72
commit
b26b3a4f65
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue