mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 16:48:45 +05:00
Removed useless case for threshold cdrs process event
This commit is contained in:
committed by
Dan Christian Bogos
parent
5c4fc75c6c
commit
4df0cf37cd
@@ -146,9 +146,6 @@ func (cdrS *CDRServer) thdSProcessEvent(ctx *context.Context, cgrEv *utils.CGREv
|
||||
var tIDs []string
|
||||
// we clone the CGREvent so we can add EventType without being propagated
|
||||
cgrEv = cgrEv.Clone()
|
||||
if cgrEv.APIOpts == nil {
|
||||
cgrEv.APIOpts = make(map[string]interface{})
|
||||
}
|
||||
cgrEv.APIOpts[utils.MetaEventType] = utils.CDR
|
||||
if err = cdrS.connMgr.Call(ctx, cdrS.cfg.CdrsCfg().ThresholdSConns,
|
||||
utils.ThresholdSv1ProcessEvent,
|
||||
|
||||
Reference in New Issue
Block a user