mirror of https://github.com/Icinga/icinga2.git
Bugfix: Don't copy the enable_checks attribute to child services.
This commit is contained in:
parent
b74c2c8a68
commit
f9ea72ddb1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue