mirror of https://github.com/Icinga/icinga2.git
Don't copy macros / custom attributes to services.
This commit is contained in:
parent
a833fc0fc3
commit
61f0f7edc7
|
@ -231,9 +231,6 @@ void Host::UpdateSlaveServices(void)
|
||||||
keys.insert("check_period");
|
keys.insert("check_period");
|
||||||
keys.insert("servicedependencies");
|
keys.insert("servicedependencies");
|
||||||
keys.insert("hostdependencies");
|
keys.insert("hostdependencies");
|
||||||
keys.insert("export_macros");
|
|
||||||
keys.insert("macros");
|
|
||||||
keys.insert("custom");
|
|
||||||
|
|
||||||
ExpressionList::Ptr host_exprl = boost::make_shared<ExpressionList>();
|
ExpressionList::Ptr host_exprl = boost::make_shared<ExpressionList>();
|
||||||
item->GetLinkedExpressionList()->ExtractFiltered(keys, host_exprl);
|
item->GetLinkedExpressionList()->ExtractFiltered(keys, host_exprl);
|
||||||
|
|
Loading…
Reference in New Issue