From a918e9fb97fb5c076f29d3c44e4b9d692321b2b1 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Thu, 11 Mar 2021 10:04:24 -0800 Subject: [PATCH] concierge_impersonation_proxy_test.go: Fix lint error in previous commit --- test/integration/concierge_impersonation_proxy_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/concierge_impersonation_proxy_test.go b/test/integration/concierge_impersonation_proxy_test.go index b701fb19..6d038181 100644 --- a/test/integration/concierge_impersonation_proxy_test.go +++ b/test/integration/concierge_impersonation_proxy_test.go @@ -412,7 +412,7 @@ func TestImpersonationProxy(t *testing.T) { //nolint:gocyclo // yeah, it's compl impersonationProxyServiceAccountPinnipedConciergeClient := newImpersonationProxyClientWithCredentials( &loginv1alpha1.ClusterCredential{Token: createServiceAccountToken(ctx, t, adminClient, namespaceName)}, impersonationProxyURL, impersonationProxyCACertPEM, "").PinnipedConcierge - whoAmI, err = impersonationProxyServiceAccountPinnipedConciergeClient.IdentityV1alpha1().WhoAmIRequests(). + _, err = impersonationProxyServiceAccountPinnipedConciergeClient.IdentityV1alpha1().WhoAmIRequests(). Create(ctx, &identityv1alpha1.WhoAmIRequest{}, metav1.CreateOptions{}) require.Error(t, err) // The server checks that we have a UID in the request and rejects it with a 422 Unprocessable Entity.