Fix:import the same package multiple times

Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>

Kubernetes-commit: 4f0a0ec81c649727cfc62cf8c0a2ad7eabf12516
This commit is contained in:
HaoJie Liu
2022-07-12 17:41:37 +08:00
committed by Kubernetes Publisher
parent 3b969f9680
commit 2f582c2a40
4 changed files with 7 additions and 11 deletions

View File

@@ -28,7 +28,6 @@ import (
"github.com/google/go-cmp/cmp"
fuzz "github.com/google/gofuzz"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/client-go/pkg/apis/clientauthentication"
clientauthenticationapi "k8s.io/client-go/pkg/apis/clientauthentication"
clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
"k8s.io/client-go/transport"
@@ -353,7 +352,7 @@ func TestExecClusterToConfigRoundtrip(t *testing.T) {
},
)
for i := 0; i < 100; i++ {
expected := &clientauthentication.Cluster{}
expected := &clientauthenticationapi.Cluster{}
f.Fuzz(expected)
// Manually set URLs so we don't get an error when parsing these during the roundtrip.