mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated the global CgrConfig for cgr-loader and cgr-migrator. Fixes#1532
This commit is contained in:
committed by
Dan Christian Bogos
parent
a80365313c
commit
a7fb5315db
@@ -119,6 +119,7 @@ func main() {
|
||||
if ldrCfg, err = config.NewCGRConfigFromPath(*cfgPath); err != nil {
|
||||
log.Fatalf("Error loading config file %s", err.Error())
|
||||
}
|
||||
config.SetCgrConfig(ldrCfg)
|
||||
}
|
||||
|
||||
// Data for DataDB
|
||||
|
||||
@@ -128,6 +128,7 @@ func main() {
|
||||
if mgrCfg, err = config.NewCGRConfigFromPath(*cfgPath); err != nil {
|
||||
log.Fatalf("error loading config file %s", err.Error())
|
||||
}
|
||||
config.SetCgrConfig(mgrCfg)
|
||||
}
|
||||
|
||||
// inDataDB
|
||||
|
||||
Reference in New Issue
Block a user