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

Turn async persist off when logging in #5464

Merged
merged 4 commits into from
Feb 2, 2018
Merged

Conversation

williexu
Copy link
Contributor

@williexu williexu commented Feb 2, 2018


Fixes: #5452

This change flushes the token information into disk without waiting for the command process to end.

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

@williexu williexu requested a review from yugangw-msft February 2, 2018 19:32
@promptws
Copy link

promptws commented Feb 2, 2018

View a preview at https://prompt.ws/r/Azure/azure-cli/5464
This is an experimental preview for @microsoft users.

@@ -2,6 +2,10 @@

Release History
===============
2.0.19
++++++
* When logging in, provide non-async flag for Profile to flush tokens to disk.
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest be closer to end users: able to login under interactive mode?

@williexu williexu merged commit cc9e2ee into Azure:dev Feb 2, 2018
williexu added a commit that referenced this pull request Feb 2, 2018
LukaszStem pushed a commit to LukaszStem/azure-cli that referenced this pull request Feb 21, 2018
* turn async persist off when logging in

* profile history, version bump

* renaming

* review feedback
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.

3 participants