Skip to content

Replace az --version with az version#450

Merged
MoChilia merged 1 commit intomasterfrom
sy/azversion
May 27, 2024
Merged

Replace az --version with az version#450
MoChilia merged 1 commit intomasterfrom
sy/azversion

Conversation

@MoChilia
Copy link
Copy Markdown
Member

Related to #449

As noted in Azure/azure-cli#27796 (comment), az --version performs an update check, which can be slow with a poor network connection. On the other hand, az version doesn't make any network requests and is faster. This pr replaces az --version with az version to improve the speed of azure/login.

@MoChilia MoChilia requested a review from YanaXu May 27, 2024 02:50
@MoChilia MoChilia self-assigned this May 27, 2024
@MoChilia MoChilia merged commit 5b1f5e2 into master May 27, 2024
@MoChilia MoChilia deleted the sy/azversion branch May 27, 2024 06:55
@MoChilia MoChilia linked an issue May 27, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent login speed / slow login

2 participants