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