Removed unnecessary blank spaces

This commit is contained in:
arberkatellari
2022-11-18 21:34:17 -05:00
committed by Dan Christian Bogos
parent 381d9d2785
commit b6b486c581

View File

@@ -298,11 +298,11 @@ func (cfg *CGRConfig) loadCfgFromDB(ctx *context.Context, db ConfigDB, sections
if ignoreConfigDB {
continue
}
return fmt.Errorf("Invalid section: <%s> ", section)
return fmt.Errorf("Invalid section: <%s>", section)
}
sec, has := cfg.sections.Get(section)
if !has {
return fmt.Errorf("Invalid section: <%s> ", section)
return fmt.Errorf("Invalid section: <%s>", section)
}
cfg.lks[section].Lock()
err = sec.Load(ctx, db, cfg)