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