From 27596598fde399acf61722afa721a9539920400b 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 de03ce5fe4729..67a3e7d83aa22 160000 --- a/e +++ b/e @@ -1 +1 @@ -Subproject commit de03ce5fe47298140975f9ac8cd5be71f98d3ff8 +Subproject commit 67a3e7d83aa2262f86f5c2bd8af2de25a7b1e974 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()