ThresholdsIndex -> ThresholdStringIndex

This commit is contained in:
DanB
2017-10-24 15:10:04 +02:00
parent 3b880c8c8b
commit 6c8a5d5839
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -249,7 +249,7 @@ const (
ResourceProfilesPrefix = "rsp_"
StatQueuesStringIndex = "ssi_"
ThresholdPrefix = "thd_"
ThresholdsIndex = "thi_"
ThresholdStringIndex = "tsi_"
TimingsPrefix = "tmg_"
FilterPrefix = "ftr_"
FilterIndex = "fti_"