Integration tests for storecfgindb in apis

This commit is contained in:
andronache
2021-06-08 13:28:18 +03:00
committed by Dan Christian Bogos
parent 323646602c
commit 44525fc3e1
7 changed files with 55 additions and 146 deletions

View File

@@ -452,7 +452,7 @@ func main() {
cfg.ConfigDBCfg().Password, cfg.GeneralCfg().DBDataEncoding,
cfg.ConfigDBCfg().Opts)
if err != nil { // Cannot configure getter database, show stopper
utils.Logger.Crit(fmt.Sprintf("Could not configure configDB: %s exiting!", err))
log.Fatalf("Could not configure configDB: %s exiting!", err)
return
}
if err = cfg.LoadFromDB(d); err != nil {