2
0
Эх сурвалжийг харах

Fixes #14827: Ensure all matching event rules are processed in response to an event

Jeremy Stretch 2 жил өмнө
parent
commit
66db4f3874

+ 1 - 1
netbox/extras/events.py

@@ -81,7 +81,7 @@ def process_event_rules(event_rules, model_name, event, data, username, snapshot
 
         # Evaluate event rule conditions (if any)
         if not event_rule.eval_conditions(data):
-            return
+            continue
 
         # Webhooks
         if event_rule.action_type == EventRuleActionChoices.WEBHOOK: