mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 20:59:53 +05:00
Removed duplicated initialization
This commit is contained in:
committed by
Dan Christian Bogos
parent
200fb5498b
commit
199505e951
@@ -96,7 +96,6 @@ func (smg *SessionService) Start() (err error) {
|
||||
smg.rpcv1 = apis.NewSessionSv1(smg.sm) // methods with multiple options
|
||||
srv, _ := birpc.NewService(smg.rpcv1, utils.EmptyString, false)
|
||||
//smg.rpc = v1.NewSMGenericV1(smg.sm, smg.caps)
|
||||
smg.rpcv1 = apis.NewSessionSv1(smg.sm) // methods with multiple options
|
||||
if !smg.cfg.DispatcherSCfg().Enabled {
|
||||
smg.server.RpcRegister(srv)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user