concierge_impersonation_proxy_test.go: Fix lint error in previous commit

This commit is contained in:
Ryan Richard 2021-03-11 10:04:24 -08:00
parent 34accc3dee
commit a918e9fb97
1 changed files with 1 additions and 1 deletions

View File

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