From a5169161a66e16df7af7fe69b2dfa11e0da12aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Cuadrado=20Juan?= Date: Tue, 4 Oct 2022 11:25:57 +0200 Subject: [PATCH] build: Make golangci-lint nolintlinter happy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See also: https://github.com/golangci/golangci-lint/issues/3109 Signed-off-by: VĂ­ctor Cuadrado Juan --- apis/policies/v1/webhook_suite_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/policies/v1/webhook_suite_test.go b/apis/policies/v1/webhook_suite_test.go index bf2608703..c2d506b56 100644 --- a/apis/policies/v1/webhook_suite_test.go +++ b/apis/policies/v1/webhook_suite_test.go @@ -166,7 +166,7 @@ func makeClusterAdmissionPolicyTemplate(name, namespace, policyServerName string } } -// nolint: dupl +//nolint:dupl func deleteClusterAdmissionPolicy(ctx context.Context, name, namespace string) { nsn := types.NamespacedName{ Name: name, @@ -211,7 +211,7 @@ func makePolicyServerTemplate(name, namespace string) *PolicyServer { } } -// nolint: dupl +//nolint:dupl func deletePolicyServer(ctx context.Context, name, namespace string) { nsn := types.NamespacedName{ Name: name,