From 51c9147e40c8617c9e55640fa0c76fce26cbc5dd Mon Sep 17 00:00:00 2001 From: Brian Joerger Date: Thu, 31 Oct 2024 12:43:46 -0700 Subject: [PATCH] Remove unused NewCLIPromptV2. (#48239) --- e | 2 +- lib/client/mfa/cli.go | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/e b/e index df73c4fffdc4d..ad1203af125a2 160000 --- a/e +++ b/e @@ -1 +1 @@ -Subproject commit df73c4fffdc4d2dbc1a4ce47a5b33816d4a96458 +Subproject commit ad1203af125a2442816d484c76b0cda8b88a3295 diff --git a/lib/client/mfa/cli.go b/lib/client/mfa/cli.go index a40838211bfa7..726c9962e0127 100644 --- a/lib/client/mfa/cli.go +++ b/lib/client/mfa/cli.go @@ -86,12 +86,6 @@ func NewCLIPrompt(cfg *CLIPromptConfig) *CLIPrompt { } } -// NewCLIPromptV2 returns a new CLI mfa prompt with the given config. -// TODO(Joerger): remove once /e is no longer dependent on this. -func NewCLIPromptV2(cfg *CLIPromptConfig) *CLIPrompt { - return NewCLIPrompt(cfg) -} - func (c *CLIPrompt) stdin() prompt.StdinReader { if c.cfg.StdinFunc == nil { return prompt.Stdin()