Skip to content

Commit

Permalink
update to discovery.k8s.io/v1
Browse files Browse the repository at this point in the history
  • Loading branch information
kishorj committed Feb 22, 2023
1 parent a92e689 commit ba9217d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion controllers/elbv2/eventhandlers/endpointslices.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/go-logr/logr"
"github.com/pkg/errors"
discv1 "k8s.io/api/discovery/v1beta1"
discv1 "k8s.io/api/discovery/v1"
"k8s.io/apimachinery/pkg/api/equality"
"k8s.io/apimachinery/pkg/types"
"k8s.io/client-go/util/workqueue"
Expand Down
2 changes: 1 addition & 1 deletion controllers/elbv2/eventhandlers/endpointslices_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/golang/mock/gomock"
"github.com/google/go-cmp/cmp"
"github.com/stretchr/testify/assert"
discv1 "k8s.io/api/discovery/v1beta1"
discv1 "k8s.io/api/discovery/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
"k8s.io/client-go/util/workqueue"
Expand Down
2 changes: 1 addition & 1 deletion controllers/elbv2/targetgroupbinding_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/aws/aws-sdk-go/aws"
"github.com/pkg/errors"
corev1 "k8s.io/api/core/v1"
discv1 "k8s.io/api/discovery/v1beta1"
discv1 "k8s.io/api/discovery/v1"
"k8s.io/client-go/tools/record"
"k8s.io/client-go/util/workqueue"
"sigs.k8s.io/aws-load-balancer-controller/controllers/elbv2/eventhandlers"
Expand Down
2 changes: 1 addition & 1 deletion pkg/backend/endpoint_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/go-logr/logr"
"github.com/pkg/errors"
corev1 "k8s.io/api/core/v1"
discovery "k8s.io/api/discovery/v1beta1"
discovery "k8s.io/api/discovery/v1"
apierrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/types"
"k8s.io/apimachinery/pkg/util/intstr"
Expand Down
2 changes: 1 addition & 1 deletion pkg/backend/endpoint_resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"github.com/stretchr/testify/assert"
corev1 "k8s.io/api/core/v1"
discovery "k8s.io/api/discovery/v1beta1"
discovery "k8s.io/api/discovery/v1"
)

func Test_defaultEndpointResolver_ResolvePodEndpoints(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/backend/endpoint_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package backend

import (
corev1 "k8s.io/api/core/v1"
discv1 "k8s.io/api/discovery/v1beta1"
discv1 "k8s.io/api/discovery/v1"
"k8s.io/apimachinery/pkg/labels"
"sigs.k8s.io/aws-load-balancer-controller/pkg/k8s"
)
Expand Down

0 comments on commit ba9217d

Please sign in to comment.