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 az --version with az version #450

Merged
merged 1 commit into from
May 27, 2024
Merged

Replace az --version with az version #450

merged 1 commit into from
May 27, 2024

Conversation

MoChilia
Copy link
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
25 checks passed
@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