Skip to content

Commit

Permalink
Fix warning of deprecated setting in golangci-lint (#2010)
Browse files Browse the repository at this point in the history
  • Loading branch information
johscheuer committed Apr 30, 2024
1 parent 11e75fe commit c958293
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ linters:

linters-settings:
errcheck:
# path to a file containing a list of functions to exclude from checking
# see https://github.com/kisielk/errcheck#excluding-functions for details
exclude: errcheck_excludes.txt
exclude-functions:
- (io.Closer).Close
- (*os.File).Close
- (github.com/FoundationDB/fdb-kubernetes-operator/pkg/fdbadminclient.AdminClient).Close
govet:
enable:
- shadow
Expand Down
3 changes: 0 additions & 3 deletions errcheck_excludes.txt

This file was deleted.

0 comments on commit c958293

Please sign in to comment.