mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated ConfigSv1.ReloadSections to ConfigSv1.ReloadConfigFromJSON
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user