Fix database.go typo

This commit is contained in:
mihaelabalutoiu 2022-09-13 15:01:05 +03:00
parent bdb087578a
commit 6fe6680e52

View file

@ -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)
}
}