From 165fce67af44815bfad2999e62fa96b0b1d6ae58 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Thu, 4 Mar 2021 16:23:39 -0600 Subject: [PATCH] Use the unversioned REST client for this check. Signed-off-by: Matt Moyer --- test/integration/e2e_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/e2e_test.go b/test/integration/e2e_test.go index 501e7655..672df23e 100644 --- a/test/integration/e2e_test.go +++ b/test/integration/e2e_test.go @@ -270,7 +270,7 @@ func TestE2EFullIntegration(t *testing.T) { require.Equal(t, "you have been logged in and may now close this tab", msg) // Verify that we can actually reach the endpoint in the kubeconfig. - restClient, err := rest.RESTClientFor(restConfig) + restClient, err := rest.UnversionedRESTClientFor(restConfig) require.NoError(t, err) require.Eventually(t, func() bool { var status int