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

Fixed default order of the identities #1286

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

jikuja
Copy link
Contributor

@jikuja jikuja commented Jul 15, 2022

get_token_from_az_logins() method uses the wrong comparison when finding an active subscription from az login data. The code fails to insert active subscription as first identity without outputting any errors or warning.

This PR fixes comparison and active subscription is added into tenantsDict as first item.

Compare with get_default_subscription_info() in same file.

Please make sure the code is following contribution guidelines in CONTRIBUTING.md

  • : This PR has a corresponding issue open in the Repository.
  • : Approach is signed off on the issue.

* Changed comparison to support actual data typing
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.

2 participants