mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Added APIs to reload config from string
This commit is contained in:
committed by
Dan Christian Bogos
parent
fc5966d11a
commit
b2db71f303
@@ -156,7 +156,7 @@ func TestLoadConfig(t *testing.T) {
|
||||
if !reflect.DeepEqual(ldrCfg.LoaderCgrCfg().SchedulerConns, expAddrs) {
|
||||
t.Errorf("Expected %v received %v", expAddrs, ldrCfg.LoaderCgrCfg().SchedulerConns)
|
||||
}
|
||||
expaddr := map[string]*config.RPCConn{
|
||||
expaddr := config.RpcConns{
|
||||
utils.MetaInternal: {
|
||||
Strategy: rpcclient.PoolFirst,
|
||||
PoolSize: 0,
|
||||
|
||||
Reference in New Issue
Block a user