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

CLI - Small refactors to identity code #1169

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

bfops
Copy link
Collaborator

@bfops bfops commented Apr 26, 2024

Description of Changes

Small refactors to some CLI code around identity management, to make review for #1140 easier.

These changes do not change any behavior.

API and ABI breaking changes

No

Expected complexity level and risk

1

Testing

  • Existing CLI tests

@bfops bfops added release-any To be landed in any release window CLI only This change only affects the CLI behavior labels Apr 26, 2024
@bfops bfops force-pushed the bfops/cli-identity-refactor branch from c789897 to 049497d Compare April 26, 2024 17:48
@bfops bfops marked this pull request as ready for review April 26, 2024 17:49
.get_identity_config_mut(identity_or_name)
.ok_or_else(|| anyhow::anyhow!("Missing identity credentials for identity: {identity_or_name}"))?;
.get_identity_config_mut(identity)
.ok_or_else(|| anyhow::anyhow!("Missing identity credentials for identity: {identity}"))?;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

just a rename for consistency with other code

@bfops bfops enabled auto-merge April 26, 2024 17:54
@bfops bfops requested review from jdetter and a team and removed request for jdetter April 26, 2024 17:54
Copy link
Collaborator

@jdetter jdetter left a comment

Choose a reason for hiding this comment

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

All seems fine to me 👍

@bfops bfops added this pull request to the merge queue May 14, 2024
Merged via the queue into master with commit 08ecaf8 May 14, 2024
6 checks passed
@RReverser RReverser deleted the bfops/cli-identity-refactor branch May 14, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI only This change only affects the CLI behavior release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants