mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated config tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
6cbf457e35
commit
8b98dd2879
@@ -194,8 +194,6 @@ func NewDefaultCGRConfig() (cfg *CGRConfig, err error) {
|
||||
cfg.apiBanCfg = new(APIBanCfg)
|
||||
cfg.coreSCfg = new(CoreSCfg)
|
||||
|
||||
cfg.ConfigReloads = make(map[string]chan struct{})
|
||||
|
||||
var cgrJSONCfg *CgrJsonCfg
|
||||
if cgrJSONCfg, err = NewCgrJsonCfgFromBytes([]byte(CGRATES_CFG_JSON)); err != nil {
|
||||
return
|
||||
@@ -286,8 +284,7 @@ type CGRConfig struct {
|
||||
loaderCfg LoaderSCfgs // LoaderS configs
|
||||
httpAgentCfg HttpAgentCfgs // HttpAgent configs
|
||||
|
||||
ConfigReloads map[string]chan struct{} // Signals to specific entities that a config reload should occur
|
||||
rldChans map[string]chan struct{} // index here the channels used for reloads
|
||||
rldChans map[string]chan struct{} // index here the channels used for reloads
|
||||
|
||||
rpcConns RpcConns
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user