1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-08 17:05:25 +02:00

Fix inline service dependencies.

Fixes 
This commit is contained in:
Gunnar Beutner 2014-03-07 12:14:28 +01: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);