From 233cdde52bc14181e7f42bbd850719211ca8df1b 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 8254052bc2a4f..50158fead564c 160000 --- a/e +++ b/e @@ -1 +1 @@ -Subproject commit 8254052bc2a4f53718bdf44502caf329e024b9ec +Subproject commit 50158fead564c3684252b2ec6686256997e3dbf3 diff --git a/lib/client/mfa/cli.go b/lib/client/mfa/cli.go index 40127b314e06d..a956775961012 100644 --- a/lib/client/mfa/cli.go +++ b/lib/client/mfa/cli.go @@ -72,12 +72,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()