Bugfix: Don't copy the enable_checks attribute to child services.

This commit is contained in:
Gunnar Beutner 2013-02-02 20:05:18 +01:00
parent b74c2c8a68
commit f9ea72ddb1
1 changed files with 0 additions and 4 deletions

View File

@ -219,10 +219,6 @@ static void CopyServiceAttributes(const Host::Ptr& host, TDict serviceDesc,
if (!hostchecks.IsEmpty())
builder->AddExpression("dependencies", OperatorPlus,
Service::ResolveDependencies(host, hostchecks));
Value enableChecks = serviceDesc->Get("enable_checks");
if (!enableChecks.IsEmpty())
builder->AddExpression("enable_checks", OperatorSet, enableChecks);
}
void Host::ObjectCommittedHandler(const ConfigItem::Ptr& item)