mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Ensure config path stands out when using print_config flag
Done by using the %q fmt verb instead of %s, which wraps the path within quotes.
This commit is contained in:
committed by
Dan Christian Bogos
parent
d4abea91a5
commit
c3524735aa
@@ -433,7 +433,7 @@ func main() {
|
||||
|
||||
if *printConfig {
|
||||
cfgJSON := utils.ToIJSON(cfg.AsMapInterface(cfg.GeneralCfg().RSRSep))
|
||||
utils.Logger.Info(fmt.Sprintf("Configuration loaded from %s:\n%s", *cfgPath, cfgJSON))
|
||||
utils.Logger.Info(fmt.Sprintf("Configuration loaded from %q:\n%s", *cfgPath, cfgJSON))
|
||||
}
|
||||
|
||||
// init the concurrentRequests
|
||||
|
||||
Reference in New Issue
Block a user