From fb1c62ed04de307b1d6300269916681ae0b57137 Mon Sep 17 00:00:00 2001 From: joerger Date: Thu, 24 Oct 2024 17:25:17 -0700 Subject: [PATCH] Remove unused field, fix test. --- lib/client/api.go | 3 --- lib/client/cluster_client_test.go | 5 +++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/client/api.go b/lib/client/api.go index 73c9883a115cb..d087fb02d1e34 100644 --- a/lib/client/api.go +++ b/lib/client/api.go @@ -498,9 +498,6 @@ type Config struct { // If empty, a default CLI prompt is used. CustomHardwareKeyPrompt keys.HardwareKeyPrompt - // SSOCeremonyConstructor is a custom SSO ceremony constructor to use. - SSOCeremonyConstructor func() *sso.Ceremony - // DisableSSHResumption disables transparent SSH connection resumption. DisableSSHResumption bool diff --git a/lib/client/cluster_client_test.go b/lib/client/cluster_client_test.go index 70a9985853ceb..7a90be3f30d80 100644 --- a/lib/client/cluster_client_test.go +++ b/lib/client/cluster_client_test.go @@ -361,8 +361,9 @@ func TestIssueUserCertsWithMFA(t *testing.T) { tc: &TeleportClient{ localAgent: agent, Config: Config{ - SiteName: "test", - Tracer: tracing.NoopTracer("test"), + WebProxyAddr: "proxy.example.com", + SiteName: "test", + Tracer: tracing.NoopTracer("test"), MFAPromptConstructor: func(cfg *libmfa.PromptConfig) mfa.Prompt { return test.prompt },