Skip to content

Commit a71b258

Browse files
committed
Update .golangci.yml
1 parent 8f5932d commit a71b258

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ linters:
135135
gosec:
136136
excludes:
137137
- G704 # Health check target URLs are stored config, not user-tainted input.
138+
- G118 # Cancel funcs are intentionally retained (e.g. metrics pollers) and invoked later; govet's lostcancel covers genuinely lost cancels.
138139

139140
exclusions:
140141
generated: lax

0 commit comments

Comments
 (0)