mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-13 13:01:38 +00:00
linting
This commit is contained in:
@@ -31,7 +31,7 @@ func (c *sqlPool) Acquire(ctx context.Context) (database.Client, error) {
|
||||
// Query implements [database.Pool].
|
||||
// Subtle: this method shadows the method (Pool).Query of pgxPool.Pool.
|
||||
func (c *sqlPool) Query(ctx context.Context, sql string, args ...any) (database.Rows, error) {
|
||||
//nolint:sqlclosecheck // Rows.Close is called by the caller
|
||||
//nolint:rowserrcheck // Rows.Close is called by the caller
|
||||
rows, err := c.QueryContext(ctx, sql, args...)
|
||||
if err != nil {
|
||||
return nil, wrapError(err)
|
||||
|
Reference in New Issue
Block a user