File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ all: controller
20
20
21
21
# Run tests
22
22
test : generate fmt vet manifests helm-lint
23
- go test -race ./pkg/... ./webhooks/... -coverprofile cover.out
23
+ ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.20 go test -race ./pkg/... ./webhooks/... -coverprofile cover.out
24
24
25
25
# Build controller binary
26
26
controller : generate fmt vet
Original file line number Diff line number Diff line change 5
5
6
6
"github.com/go-logr/logr"
7
7
"github.com/pkg/errors"
8
- discv1 "k8s.io/api/discovery/v1beta1 "
8
+ discv1 "k8s.io/api/discovery/v1 "
9
9
"k8s.io/apimachinery/pkg/api/equality"
10
10
"k8s.io/apimachinery/pkg/types"
11
11
"k8s.io/client-go/util/workqueue"
Original file line number Diff line number Diff line change 7
7
"github.com/golang/mock/gomock"
8
8
"github.com/google/go-cmp/cmp"
9
9
"github.com/stretchr/testify/assert"
10
- discv1 "k8s.io/api/discovery/v1beta1 "
10
+ discv1 "k8s.io/api/discovery/v1 "
11
11
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
12
12
"k8s.io/apimachinery/pkg/types"
13
13
"k8s.io/client-go/util/workqueue"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
24
24
"github.com/aws/aws-sdk-go/aws"
25
25
"github.com/pkg/errors"
26
26
corev1 "k8s.io/api/core/v1"
27
- discv1 "k8s.io/api/discovery/v1beta1 "
27
+ discv1 "k8s.io/api/discovery/v1 "
28
28
"k8s.io/client-go/tools/record"
29
29
"k8s.io/client-go/util/workqueue"
30
30
"sigs.k8s.io/aws-load-balancer-controller/controllers/elbv2/eventhandlers"
Original file line number Diff line number Diff line change 8
8
"github.com/go-logr/logr"
9
9
"github.com/pkg/errors"
10
10
corev1 "k8s.io/api/core/v1"
11
- discovery "k8s.io/api/discovery/v1beta1 "
11
+ discovery "k8s.io/api/discovery/v1 "
12
12
apierrors "k8s.io/apimachinery/pkg/api/errors"
13
13
"k8s.io/apimachinery/pkg/types"
14
14
"k8s.io/apimachinery/pkg/util/intstr"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import (
23
23
24
24
"github.com/stretchr/testify/assert"
25
25
corev1 "k8s.io/api/core/v1"
26
- discovery "k8s.io/api/discovery/v1beta1 "
26
+ discovery "k8s.io/api/discovery/v1 "
27
27
)
28
28
29
29
func Test_defaultEndpointResolver_ResolvePodEndpoints (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package backend
2
2
3
3
import (
4
4
corev1 "k8s.io/api/core/v1"
5
- discv1 "k8s.io/api/discovery/v1beta1 "
5
+ discv1 "k8s.io/api/discovery/v1 "
6
6
"k8s.io/apimachinery/pkg/labels"
7
7
"sigs.k8s.io/aws-load-balancer-controller/pkg/k8s"
8
8
)
You can’t perform that action at this time.
0 commit comments