mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Redis not to automatically remove previous filter indexes
This commit is contained in:
@@ -1281,9 +1281,6 @@ func (rs *RedisStorage) GetReqFilterIndexes(dbKey string) (indexes map[string]ma
|
||||
}
|
||||
|
||||
func (rs *RedisStorage) SetReqFilterIndexes(dbKey string, indexes map[string]map[string]utils.StringMap) (err error) {
|
||||
if err = rs.Cmd("DEL", dbKey).Err; err != nil { // DELETE before set
|
||||
return
|
||||
}
|
||||
mp := make(map[string]string)
|
||||
for fldName, fldValMp := range indexes {
|
||||
for fldVal, strMp := range fldValMp {
|
||||
|
||||
Reference in New Issue
Block a user