mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
ThresholdsIndex -> ThresholdStringIndex
This commit is contained in:
@@ -250,7 +250,7 @@ func (tS *ThresholdService) StoreThreshold(t *Threshold) (err error) {
|
||||
// matchingThresholdsForEvent returns ordered list of matching thresholds which are active for an Event
|
||||
func (tS *ThresholdService) matchingThresholdsForEvent(ev *ThresholdEvent) (ts Thresholds, err error) {
|
||||
matchingTs := make(map[string]*Threshold)
|
||||
tIDs, err := matchingItemIDsForEvent(ev.Event, tS.dm, utils.ThresholdsIndex+ev.Tenant)
|
||||
tIDs, err := matchingItemIDsForEvent(ev.Event, tS.dm, utils.ThresholdStringIndex+ev.Tenant)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
@@ -249,7 +249,7 @@ const (
|
||||
ResourceProfilesPrefix = "rsp_"
|
||||
StatQueuesStringIndex = "ssi_"
|
||||
ThresholdPrefix = "thd_"
|
||||
ThresholdsIndex = "thi_"
|
||||
ThresholdStringIndex = "tsi_"
|
||||
TimingsPrefix = "tmg_"
|
||||
FilterPrefix = "ftr_"
|
||||
FilterIndex = "fti_"
|
||||
|
||||
Reference in New Issue
Block a user