From 67f0e95b3ac537348deb370b98c4d75066403851 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Mon, 10 Mar 2025 14:31:08 +0200 Subject: [PATCH] hack: fix text --- hack/golangci-hints.yaml | 2 +- hack/golangci.yaml | 2 +- hack/golangci.yaml.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hack/golangci-hints.yaml b/hack/golangci-hints.yaml index 2ac2132b289..c2ce0914f78 100644 --- a/hack/golangci-hints.yaml +++ b/hack/golangci-hints.yaml @@ -48,7 +48,7 @@ issues: # Adding unversioned feature gates is allowed in tests - linters: - forbidigo - text: should not use MutableFeatureGate.Add, use AddVersioned instead + text: should not use Add, use AddVersioned instead path: _test.go$ # The Kubernetes naming convention for conversion functions uses underscores diff --git a/hack/golangci.yaml b/hack/golangci.yaml index 7972d00d5c0..5daa137e02a 100644 --- a/hack/golangci.yaml +++ b/hack/golangci.yaml @@ -48,7 +48,7 @@ issues: # Adding unversioned feature gates is allowed in tests - linters: - forbidigo - text: should not use MutableFeatureGate.Add, use AddVersioned instead + text: should not use Add, use AddVersioned instead path: _test.go$ # TODO(oscr) Remove these excluded directories and fix findings. Due to large amount of findings in different components diff --git a/hack/golangci.yaml.in b/hack/golangci.yaml.in index 3ff7507143e..a2987c4b33b 100644 --- a/hack/golangci.yaml.in +++ b/hack/golangci.yaml.in @@ -48,7 +48,7 @@ issues: # Adding unversioned feature gates is allowed in tests - linters: - forbidigo - text: should not use MutableFeatureGate.Add, use AddVersioned instead + text: should not use Add, use AddVersioned instead path: _test.go$ {{- if .Base}}