mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 13:19:53 +05:00
Cleaned code
This commit is contained in:
committed by
Dan Christian Bogos
parent
ed5851f3f2
commit
43bd9bbbf5
@@ -63,7 +63,7 @@ func matchingItemIDsForEvent(ev map[string]interface{}, fieldIDs []string,
|
||||
}
|
||||
}
|
||||
}
|
||||
dbItemIDs, err := dm.MatchFilterIndex(dbIdxKey, filterType, utils.NOT_AVAILABLE, utils.NOT_AVAILABLE) // add unindexed itemIDs to be checked
|
||||
dbItemIDs, err := dm.MatchFilterIndex(dbIdxKey, utils.MetaDefault, utils.NOT_AVAILABLE, utils.NOT_AVAILABLE) // add unindexed itemIDs to be checked
|
||||
if err != nil {
|
||||
if err != utils.ErrNotFound {
|
||||
return nil, err
|
||||
|
||||
@@ -221,7 +221,6 @@ func (tS *ThresholdService) matchingThresholdsForEvent(args *ArgsProcessEvent) (
|
||||
} else {
|
||||
tIDsMap, err := matchingItemIDsForEvent(args.Event, tS.indexedFields, tS.dm, utils.ThresholdStringIndex+args.Tenant, MetaString)
|
||||
if err != nil {
|
||||
utils.Logger.Debug(fmt.Sprintf("here gets NOTFOUND"))
|
||||
return nil, err
|
||||
}
|
||||
tIDs = tIDsMap.Slice()
|
||||
|
||||
Reference in New Issue
Block a user