mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 00:08:11 +00:00
[no-relnote] Ignore integer overflow in golangci-lint
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
ff2ba2bbc5
commit
f4987580d2
@ -23,6 +23,8 @@ issues:
|
|||||||
exclude:
|
exclude:
|
||||||
# The legacy hook relies on spec.Hooks.Prestart, which is deprecated as of the v1.2.0 OCI runtime spec.
|
# The legacy hook relies on spec.Hooks.Prestart, which is deprecated as of the v1.2.0 OCI runtime spec.
|
||||||
- "SA1019:(.+).Prestart is deprecated(.+)"
|
- "SA1019:(.+).Prestart is deprecated(.+)"
|
||||||
|
# TODO: We should address each of the following integer overflows.
|
||||||
|
- "G115: integer overflow conversion(.+)"
|
||||||
exclude-rules:
|
exclude-rules:
|
||||||
# Exclude the gocritic dupSubExpr issue for cgo files.
|
# Exclude the gocritic dupSubExpr issue for cgo files.
|
||||||
- path: internal/dxcore/dxcore.go
|
- path: internal/dxcore/dxcore.go
|
||||||
|
Loading…
Reference in New Issue
Block a user