Skip to content

Commit 6aca84c

Browse files
committed
Fix govet lint error: shadowing declaration
1 parent 205e2e2 commit 6aca84c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎internal/webhook/core/v1alpha1/prefixset_webhook_test.go‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
package v1alpha1
55

66
import (
7-
"context"
8-
97
. "github.com/onsi/ginkgo/v2"
108
. "github.com/onsi/gomega"
119
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -15,14 +13,12 @@ import (
1513

1614
var _ = Describe("PrefixSet Webhook", func() {
1715
var (
18-
ctx context.Context
1916
obj *v1alpha1.PrefixSet
2017
oldObj *v1alpha1.PrefixSet
2118
validator PrefixSetCustomValidator
2219
)
2320

2421
BeforeEach(func() {
25-
ctx = context.Background()
2622
obj = &v1alpha1.PrefixSet{
2723
ObjectMeta: metav1.ObjectMeta{
2824
Name: "test-prefix-set",

0 commit comments

Comments
 (0)