Skip to content

Commit

Permalink
ensure to load db config for dashboard commands (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
buixor committed Mar 31, 2021
1 parent 20ef67a commit 59a9a6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/crowdsec-cli/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ cscli dashboard remove
if err := os.MkdirAll(metabaseConfigFolderPath, os.ModePerm); err != nil {
log.Fatalf(err.Error())
}
if err := csConfig.LoadDBConfig(); err != nil {
log.Fatalf(err.Error())
}

},
}

Expand Down

0 comments on commit 59a9a6b

Please sign in to comment.