Skip to content

Commit 8654000

Browse files
committed
golangci: ignore deprecated OCI prestart hook.
We still have support for the deprecated OCI Prestart hook. Add ignore rule for the related linting error. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
1 parent ef5b904 commit 8654000

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.golangci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ issues:
3939
# We dot-import ginkgo and gomega in some tests. Silence any related errors.
4040
- path: 'pkg/adaptation|pkg/runtime-tools/generate|pkg/net/multiplex'
4141
text: "dot-imports:"
42+
# Ignore deprecation errors related to us haveing adjustment support for
43+
# obsoleted Prestart OCI hook and kernel memory limit.
44+
- path: 'pkg/api/hooks.go'
45+
linters:
46+
- staticcheck
47+
text: "is deprecated"
4248

4349
run:
4450
timeout: 2m

0 commit comments

Comments
 (0)