mirror of https://github.com/Icinga/icinga2.git
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,
|
||||
Service::ResolveDependencies(host, dependencies));
|
||||
|
||||
Value hostchecks = serviceDesc->Get("hostchecks");
|
||||
Value hostchecks = host->Get("hostchecks");
|
||||
if (!hostchecks.IsEmpty())
|
||||
builder->AddExpression("dependencies", OperatorPlus,
|
||||
Service::ResolveDependencies(host, hostchecks));
|
||||
|
|
Loading…
Reference in New Issue