mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Use correct subsys const when dispatching to EEs
Before *core was mistakenly used instead of *ees
This commit is contained in:
committed by
Dan Christian Bogos
parent
0626b050c1
commit
3f5956ab1b
@@ -45,7 +45,7 @@ func (dS *DispatcherService) EeSv1Ping(ctx *context.Context, args *utils.CGREven
|
||||
return
|
||||
}
|
||||
}
|
||||
return dS.Dispatch(&utils.CGREvent{Tenant: tnt, Event: ev, APIOpts: opts}, utils.MetaCore, utils.EeSv1Ping, args, reply)
|
||||
return dS.Dispatch(&utils.CGREvent{Tenant: tnt, Event: ev, APIOpts: opts}, utils.MetaEEs, utils.EeSv1Ping, args, reply)
|
||||
}
|
||||
|
||||
func (dS *DispatcherService) EeSv1ProcessEvent(ctx *context.Context, args *engine.CGREventWithEeIDs, reply *map[string]map[string]any) (err error) {
|
||||
@@ -67,5 +67,5 @@ func (dS *DispatcherService) EeSv1ProcessEvent(ctx *context.Context, args *engin
|
||||
return
|
||||
}
|
||||
}
|
||||
return dS.Dispatch(&utils.CGREvent{Tenant: tnt, Event: ev, APIOpts: opts}, utils.MetaCore, utils.EeSv1ProcessEvent, args, reply)
|
||||
return dS.Dispatch(&utils.CGREvent{Tenant: tnt, Event: ev, APIOpts: opts}, utils.MetaEEs, utils.EeSv1ProcessEvent, args, reply)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user