mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
bfcf1b3eb8
commit
f8f89cef6d
@ -71,10 +71,7 @@ void ApplyRule::AddRule(const String& sourceType, const String& targetType, cons
|
||||
|
||||
bool ApplyRule::EvaluateFilter(const Dictionary::Ptr& scope) const
|
||||
{
|
||||
scope->Set("__parent", m_Scope);
|
||||
bool result = m_Filter->Evaluate(scope);
|
||||
scope->Remove("__parent");
|
||||
return result;
|
||||
return m_Filter->Evaluate(scope);
|
||||
}
|
||||
|
||||
void ApplyRule::EvaluateRules(bool clear)
|
||||
|
Loading…
x
Reference in New Issue
Block a user