Updated ConfigSv1.ReloadSections to ConfigSv1.ReloadConfigFromJSON

This commit is contained in:
Trial97
2020-01-07 18:02:03 +02:00
parent f9a4a296a1
commit d60ac504b1
25 changed files with 223 additions and 393 deletions

View File

@@ -361,7 +361,7 @@ func singnalHandler(exitChan chan bool) {
// do it in it's own gorutine in order to not block the signal handler with the reload functionality
go func() {
var reply string
if err := config.CgrConfig().V1ReloadConfig(
if err := config.CgrConfig().V1ReloadConfigFromPath(
&config.ConfigReloadWithArgDispatcher{
Section: utils.EmptyString,
Path: config.CgrConfig().ConfigPath, // use the same path