Skip to content

Commit

Permalink
Merge pull request #979 from ydb-platform/sqlclosecheck
Browse files Browse the repository at this point in the history
sqlclosecheck enabled
  • Loading branch information
asmyasnikov authored Dec 30, 2023
2 parents 0480caf + 52cde98 commit 3079490
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ linters:
- protogetter
- revive
- scopelint
- sqlclosecheck
- structcheck
- tagalign
- tagliatelle
Expand Down
3 changes: 3 additions & 0 deletions retry/sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ func TestDoTx(t *testing.T) {
if err != nil {
return err
}
defer func() {
_ = rows.Close()
}()
return rows.Err()
},
WithIdempotent(bool(idempotentType)),
Expand Down

0 comments on commit 3079490

Please sign in to comment.