Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace NewCLIPromptV2 #47927

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Replace NewCLIPromptV2 #47927

merged 1 commit into from
Oct 30, 2024

Conversation

Joerger
Copy link
Contributor

@Joerger Joerger commented Oct 25, 2024

Second follow up to #47874

Depends on https://github.com/gravitational/teleport.e/pull/5251 so that it isn't dependent on NewCLIPromptV2

2 more follow ups needed to remove NewCLIPromptV2 from /e and then oss.

@Joerger Joerger added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v15 backport/branch/v16 labels Oct 25, 2024
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-47927.d3pp5qlev8mo18.amplifyapp.com

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-47927.d212ksyjt6y4yg.amplifyapp.com

@Joerger Joerger force-pushed the joerger/replace-old-cli-constructor branch from f72be93 to fb56881 Compare October 28, 2024 19:20
@Joerger Joerger marked this pull request as ready for review October 28, 2024 19:20
@github-actions github-actions bot requested review from codingllama and tcsc October 28, 2024 19:21
@github-actions github-actions bot added size/sm tctl tctl - Teleport admin tool labels Oct 28, 2024
@Joerger Joerger force-pushed the joerger/replace-old-cli-constructor branch from fb56881 to ab970a4 Compare October 28, 2024 19:21
Copy link
Contributor

@codingllama codingllama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but please address the comments to avoid problems.

e Outdated Show resolved Hide resolved
@@ -87,6 +72,12 @@ func NewCLIPromptV2(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 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the e/ update lands we can remove this, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, so 2 more follow up PRs after this 😅

@Joerger Joerger force-pushed the joerger/replace-old-cli-constructor branch from ab970a4 to aba6564 Compare October 29, 2024 17:38
@Joerger Joerger requested a review from bernardjkim October 29, 2024 17:41
@Joerger Joerger force-pushed the joerger/replace-old-cli-constructor branch from aba6564 to f282b69 Compare October 30, 2024 18:14
@Joerger Joerger enabled auto-merge October 30, 2024 18:15
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from tcsc October 30, 2024 18:15
@Joerger Joerger added this pull request to the merge queue Oct 30, 2024
Merged via the queue into master with commit 6160a3d Oct 30, 2024
40 checks passed
@Joerger Joerger deleted the joerger/replace-old-cli-constructor branch October 30, 2024 18:52
@public-teleport-github-review-bot

@Joerger See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Failed
branch/v17 Failed

@public-teleport-github-review-bot

@Joerger See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Failed
branch/v17 Create PR

Joerger added a commit that referenced this pull request Oct 30, 2024
Joerger added a commit that referenced this pull request Oct 30, 2024
github-merge-queue bot pushed a commit that referenced this pull request Oct 31, 2024
github-merge-queue bot pushed a commit that referenced this pull request Oct 31, 2024
* Replace NewCLIPromptV2. (#47927)

* Update e ref to branch/v15; Add missing changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v15 backport/branch/v16 backport/branch/v17 no-changelog Indicates that a PR does not require a changelog entry size/sm tctl tctl - Teleport admin tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants