Use the unversioned REST client for this check.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2021-03-04 16:23:39 -06:00
parent 6a8f377781
commit 165fce67af
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D
1 changed files with 1 additions and 1 deletions

View File

@ -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