Skip to content

Commit 80de972

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 aae08d6 commit 80de972

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
@@ -38,6 +38,12 @@ linters:
3838
- linters:
3939
- staticcheck
4040
text: "QF1008:"
41+
# Ignore deprecation errors related to us haveing adjustment support for
42+
# obsoleted Prestart OCI hook and kernel memory limit.
43+
- path: 'pkg/api/hooks.go'
44+
linters:
45+
- staticcheck
46+
text: "is deprecated"
4147

4248
formatters:
4349
enable:

0 commit comments

Comments
 (0)