Skip to content

Commit

Permalink
Merge pull request #5106 from sbueringer/pr-move-defer-of-to-be-fixed…
Browse files Browse the repository at this point in the history
…-list

🌱 Intentionally ignore Deferring unsafe method Close on type *os.File
  • Loading branch information
k8s-ci-robot authored Aug 17, 2021
2 parents 003873a + e736105 commit 1d8088f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,10 @@ issues:
# We are disabling default golangci exclusions because we want to help reviewers to focus on reviewing the most relevant
# changes in PRs and avoid nitpicking.
exclude-use-default: false
# List of regexps of issue texts to exclude, empty list by default.
exclude:
# The following are being worked on to remove their exclusion. This list should be reduced or go away all together over time.
# If it is decided they will not be addressed they should be moved above this comment.
- 'G307: Deferring unsafe method "Close" on type "\*os.File"'
exclude-rules:
- linters:
- gosec
text: 'G307: Deferring unsafe method "Close" on type "\*os.File"'
- linters:
- gosec
text: "G108: Profiling endpoint is automatically exposed on /debug/pprof"
Expand Down

0 comments on commit 1d8088f

Please sign in to comment.