diff --git a/tool/tsh/tsh_test.go b/tool/tsh/tsh_test.go index 654abc220a251..0f6a2fce8d77f 100644 --- a/tool/tsh/tsh_test.go +++ b/tool/tsh/tsh_test.go @@ -389,7 +389,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, })