mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-24 16:18:42 +00:00
Don't log DB passwords (#4583)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
8788794748
commit
b4f5d625c6
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ func setupStore(ctx context.Context, c *cli.Command) (store.Store, error) {
|
||||||
Config: datasource,
|
Config: datasource,
|
||||||
XORM: xorm,
|
XORM: xorm,
|
||||||
}
|
}
|
||||||
log.Trace().Msgf("setup datastore: %#v", *opts)
|
log.Debug().Str("driver", driver).Any("xorm", xorm).Msg("setting up datastore")
|
||||||
store, err := datastore.NewEngine(opts)
|
store, err := datastore.NewEngine(opts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("could not open datastore: %w", err)
|
return nil, fmt.Errorf("could not open datastore: %w", err)
|
||||||
|
|
Loading…
Reference in a new issue