Skip to content

Commit

Permalink
Remove unused var (#5541)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjngx authored May 14, 2024
1 parent a5fc682 commit 2613740
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions internal/telemetry/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"github.com/nginxinc/kubernetes-ingress/internal/telemetry"
appsV1 "k8s.io/api/apps/v1"
apiCoreV1 "k8s.io/api/core/v1"
networkingV1 "k8s.io/api/networking/v1"
metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1"

"k8s.io/apimachinery/pkg/runtime"
Expand Down Expand Up @@ -915,26 +914,3 @@ var (
Data: map[string][]byte{},
}
)

// IngressClass for testing.
var (
ingressClassList = &networkingV1.IngressClassList{
TypeMeta: metaV1.TypeMeta{
Kind: "List",
APIVersion: "v1",
},
ListMeta: metaV1.ListMeta{},
Items: []networkingV1.IngressClass{
{
TypeMeta: metaV1.TypeMeta{
Kind: "IngressClass",
APIVersion: "networking.k8s.io/v1",
},
ObjectMeta: metaV1.ObjectMeta{},
Spec: networkingV1.IngressClassSpec{
Controller: "nginx.org/ingress-controller",
},
},
},
}
)

0 comments on commit 2613740

Please sign in to comment.