diff --git a/tool/tsh/common/tsh_test.go b/tool/tsh/common/tsh_test.go index 00824d2a3f4ee..a9e20b86903aa 100644 --- a/tool/tsh/common/tsh_test.go +++ b/tool/tsh/common/tsh_test.go @@ -450,7 +450,7 @@ func TestOIDCLogin(t *testing.T) { if event.Type != types.OpPut { panic(fmt.Sprintf("unexpected event type: %v\n", event)) } - err = authServer.SetAccessRequestState(ctx, types.AccessRequestUpdate{ + err := authServer.SetAccessRequestState(ctx, types.AccessRequestUpdate{ RequestID: event.Resource.(types.AccessRequest).GetName(), State: types.RequestState_APPROVED, })