Updated DispatcherS integration test

This commit is contained in:
Trial97
2020-05-04 12:46:10 +03:00
committed by Dan Christian Bogos
parent 946051a067
commit aaf2edd1b8
4 changed files with 9 additions and 9 deletions

View File

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