From 6b79c0128728b3c646a736ecf742d51b3bd9705a Mon Sep 17 00:00:00 2001 From: TeoV Date: Wed, 3 Apr 2019 13:42:02 +0300 Subject: [PATCH] Correct matching for action trigger in case of *reset_triggers action --- engine/action_trigger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/action_trigger.go b/engine/action_trigger.go index 7d59ee6cc..56231eda8 100644 --- a/engine/action_trigger.go +++ b/engine/action_trigger.go @@ -123,7 +123,7 @@ func (at *ActionTrigger) Match(a *Action) bool { if a.Balance.Type != nil && a.Balance.GetType() != at.Balance.GetType() { return false } - var thresholdType bool + thresholdType := true // by default we consider that we don't have ExtraParameters if a.ExtraParameters != "" { t := struct { GroupID string