mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-15 17:13:46 +01:00
Clean up logging (#3161)
- use `Err` method instead of format strings - use `Msg` if no format string is used
This commit is contained in:
@@ -64,9 +64,9 @@ func setupStore(c *cli.Context) (store.Store, error) {
|
||||
|
||||
if driver == "sqlite3" {
|
||||
if datastore.SupportedDriver("sqlite3") {
|
||||
log.Debug().Msgf("server has sqlite3 support")
|
||||
log.Debug().Msg("server has sqlite3 support")
|
||||
} else {
|
||||
log.Debug().Msgf("server was built without sqlite3 support!")
|
||||
log.Debug().Msg("server was built without sqlite3 support!")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user