Fixed incorrect variable name.

This commit is contained in:
Gunnar Beutner 2013-02-06 11:09:52 +01:00
parent 53705d16dc
commit 580b5e358e
1 changed files with 1 additions and 1 deletions

View File

@ -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));