mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
18b9129151
commit
bf1d9bf6ed
@ -170,7 +170,7 @@ void Service::UpdateSlaveDependencies(void)
|
||||
if (pass == 0)
|
||||
descs = GetHost()->GetDependencyDescriptions();
|
||||
else
|
||||
GetDependencyDescriptions();
|
||||
descs = GetDependencyDescriptions();
|
||||
|
||||
if (!descs || descs->GetLength() == 0)
|
||||
continue;
|
||||
@ -180,7 +180,7 @@ void Service::UpdateSlaveDependencies(void)
|
||||
if (pass == 0)
|
||||
item = ConfigItem::GetObject("Host", GetHost()->GetName());
|
||||
else
|
||||
ConfigItem::GetObject("Service", GetName());
|
||||
item = ConfigItem::GetObject("Service", GetName());
|
||||
|
||||
ObjectLock olock(descs);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user