Added APIs to reload config from string

This commit is contained in:
Trial97
2020-10-29 12:37:50 +02:00
committed by Dan Christian Bogos
parent fc5966d11a
commit b2db71f303
75 changed files with 765 additions and 740 deletions

View File

@@ -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,