Fix database.go typo
This commit is contained in:
parent
bdb087578a
commit
6fe6680e52
1 changed files with 1 additions and 2 deletions
|
|
@ -28,7 +28,6 @@ func NewDatabase(ctx context.Context, cfg config.Database) (common.Store, error)
|
|||
case config.MySQLBackend, config.SQLiteBackend:
|
||||
return sql.NewSQLDatabase(ctx, cfg)
|
||||
default:
|
||||
return nil, fmt.Errorf("no team manager backend available for db backend %s", dbBackend)
|
||||
return nil, fmt.Errorf("db backend not available: %s", dbBackend)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue