Skip to content

Replace az --version with az version - #450

Merged
Shiying Chen (MoChilia) merged 1 commit into
masterfrom
sy/azversion
May 27, 2024
Merged

Replace az --version with az version#450
Shiying Chen (MoChilia) merged 1 commit into
masterfrom
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
Shiying Chen (MoChilia) merged commit 5b1f5e2 into master May 27, 2024
@MoChilia
Shiying Chen (MoChilia) deleted the sy/azversion branch May 27, 2024 06:55
@MoChilia Shiying Chen (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