Skip to content

Clean up HDInsight clusters from Azure explorer after signed out - #3935

Merged
Wei ZHANG (wezhang) merged 2 commits into
microsoft:developfrom
wezhang:v3.32-logout-clean
Jan 16, 2020
Merged

Clean up HDInsight clusters from Azure explorer after signed out#3935
Wei ZHANG (wezhang) merged 2 commits into
microsoft:developfrom
wezhang:v3.32-logout-clean

Conversation

@wezhang

Copy link
Copy Markdown
Contributor

No description provided.


AuthMethodManager.getInstance().addSignOutEventListener(() -> {
// Clean cached clusters
instance.setCachedClusters(instance.additionalClusterDetails);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are the linked Esp clusters still work if we sign out and sign in with another Azure account?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The linked cluster are all in additionalClusterDetails

@t-rufang Rui Fang (t-rufang) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks Wei!

@wezhang
Wei ZHANG (wezhang) merged commit 15d031c into microsoft:develop Jan 16, 2020
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