Explorar o código

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

Jeremy Stretch %!s(int64=2) %!d(string=hai) anos
pai
achega
66db4f3874
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      netbox/extras/events.py

+ 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: