mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +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,
|
||||
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…
x
Reference in New Issue
Block a user