From 9dfdfa95d4de5819abf7abbaf700d76096f7a4bb Mon Sep 17 00:00:00 2001 From: DanB Date: Tue, 24 Oct 2017 15:24:06 +0200 Subject: [PATCH] ThresholdsIndex -> ThresholdStringIndex --- engine/thresholds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/thresholds.go b/engine/thresholds.go index 817500519..a06223618 100644 --- a/engine/thresholds.go +++ b/engine/thresholds.go @@ -254,7 +254,7 @@ func (tS *ThresholdService) matchingThresholdsForEvent(ev *ThresholdEvent) (ts T if err != nil { return nil, err } - lockIDs := utils.PrefixSliceItems(tIDs.Slice(), utils.ThresholdsIndex) + lockIDs := utils.PrefixSliceItems(tIDs.Slice(), utils.ThresholdStringIndex) guardian.Guardian.GuardIDs(config.CgrConfig().LockingTimeout, lockIDs...) defer guardian.Guardian.UnguardIDs(lockIDs...) for tID := range tIDs {