Skip to content

Commit

Permalink
build: Make golangci-lint nolintlinter happy
Browse files Browse the repository at this point in the history
See also:
golangci/golangci-lint#3109

Signed-off-by: Víctor Cuadrado Juan <[email protected]>
  • Loading branch information
viccuad authored and jvanz committed Dec 13, 2022
1 parent 9883590 commit a516916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis/policies/v1/webhook_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a516916

Please sign in to comment.