Skip to content

Commit 60cdc5a

Browse files
committed
[no-relnote] Ignore integer overflow linter errors
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 6413d86 commit 60cdc5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ linters-settings:
2222
local-prefixes: github.com/NVIDIA/k8s-device-plugin
2323

2424
issues:
25+
exclude:
26+
- "G115: integer overflow conversion uint -> int (gosec)"
2527
exclude-rules:
2628
# We use math/rand instead of crypto/rand for unique names in e2e tests.
2729
- path: tests/e2e/

0 commit comments

Comments
 (0)