mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
Fixed incorrect variable name.
This commit is contained in:
parent
53705d16dc
commit
580b5e358e
@ -217,7 +217,7 @@ static void CopyServiceAttributes(const Host::Ptr& host, TDict serviceDesc,
|
|||||||
builder->AddExpression("dependencies", OperatorPlus,
|
builder->AddExpression("dependencies", OperatorPlus,
|
||||||
Service::ResolveDependencies(host, dependencies));
|
Service::ResolveDependencies(host, dependencies));
|
||||||
|
|
||||||
Value hostchecks = serviceDesc->Get("hostchecks");
|
Value hostchecks = host->Get("hostchecks");
|
||||||
if (!hostchecks.IsEmpty())
|
if (!hostchecks.IsEmpty())
|
||||||
builder->AddExpression("dependencies", OperatorPlus,
|
builder->AddExpression("dependencies", OperatorPlus,
|
||||||
Service::ResolveDependencies(host, hostchecks));
|
Service::ResolveDependencies(host, hostchecks));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user