mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-17 13:05:27 +00:00
parent
fc40696e93
commit
80ea0d1f2f
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,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