diff --git a/.golangci.toml b/.golangci.toml index 7cb5dd1e1..7568e5ab5 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -30,7 +30,7 @@ enable = [ exclude-use-default = false [[issues.exclude-rules]] -source = "defer .*\\.Close\\(\\)$" +source = "defer .*\\.(Close|Rollback)\\(\\)$" linters = ["errcheck"] [linters-settings.gci]