mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 15:18:44 +05:00
Updated DispatcherS integration test
This commit is contained in:
committed by
Dan Christian Bogos
parent
946051a067
commit
aaf2edd1b8
@@ -476,12 +476,12 @@ func (rS *ResourceService) matchingResourcesForEvent(ev *utils.CGREvent,
|
||||
rS.cgrcfg.ResourceSCfg().IndexedSelects,
|
||||
rS.cgrcfg.ResourceSCfg().NestedFields,
|
||||
)
|
||||
}
|
||||
if err != nil {
|
||||
if err == utils.ErrNotFound {
|
||||
Cache.Set(utils.CacheEventResources, evUUID, nil, nil, true, "") // cache negative match
|
||||
if err != nil {
|
||||
if err == utils.ErrNotFound {
|
||||
Cache.Set(utils.CacheEventResources, evUUID, nil, nil, true, "") // cache negative match
|
||||
}
|
||||
return
|
||||
}
|
||||
return
|
||||
}
|
||||
evNm := config.NewNavigableMap(nil)
|
||||
evNm.Set([]string{utils.MetaReq}, ev.Event, false, false)
|
||||
|
||||
Reference in New Issue
Block a user