Skip to content

Commit b459765

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.golangci.yml

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

2424
issues:
25+
exclude:
26+
# Exclude all integer overflow errors on this branch.
27+
- "G115: integer overflow conversion"
2528
exclude-rules:
2629
# We use math/rand instead of crypto/rand for unique names in e2e tests.
2730
- path: tests/e2e/

0 commit comments

Comments
 (0)