mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Move Unguard one level up to avoid deadlock on the continue case
This commit is contained in:
committed by
Dan Christian Bogos
parent
0f6ef42c2d
commit
d264dd1c5a
@@ -317,8 +317,8 @@ func removeReverseFilterIndexForFilter(dm *DataManager, idxItmType, tnt, itemID
|
||||
var indexes map[string]utils.StringMap
|
||||
if indexes, err = dm.GetFilterIndexes(utils.PrefixToIndexCache[utils.ReverseFilterIndexes], tntFltrID,
|
||||
utils.EmptyString, nil); err != nil {
|
||||
guardian.Guardian.UnguardIDs(refID)
|
||||
if err != utils.ErrNotFound {
|
||||
guardian.Guardian.UnguardIDs(refID)
|
||||
return
|
||||
}
|
||||
err = nil
|
||||
|
||||
Reference in New Issue
Block a user