ThresholdsIndex -> ThresholdStringIndex

This commit is contained in:
DanB
2017-10-24 15:24:06 +02:00
parent 6c8a5d5839
commit 9dfdfa95d4

View File

@@ -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 {