|
@@ -206,9 +206,6 @@ Note: This command requires database direct access, so is intended to be run on
|
|
|
if err := csConfig.LoadAPIServer(); err != nil || csConfig.DisableAPI {
|
|
|
log.Fatal("Local API is disabled, please run this command on the local API machine")
|
|
|
}
|
|
|
- if err := csConfig.LoadDBConfig(); err != nil {
|
|
|
- log.Fatal(err)
|
|
|
- }
|
|
|
dbClient, err = database.NewClient(csConfig.DbConfig)
|
|
|
if err != nil {
|
|
|
log.Fatalf("unable to create new database client: %s", err)
|