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

Backport: Prevent a panic in tsh kube login when logged out #4891

Closed
wants to merge 1 commit into from

Conversation

awly
Copy link
Contributor

@awly awly commented Nov 18, 2020

Backport of #4885 into 5.0

Fixes #4884

Turns out, client.Status can return a nil error *and* profile.
Handle nil profile separately and return a simple error.
@awly awly force-pushed the andrew/5.0/kube_login_no_profile branch from ce3a01a to 85df2ef Compare November 18, 2020 17:55
@awly
Copy link
Contributor Author

awly commented Nov 18, 2020

Better fix coming in #4893

@awly awly closed this Nov 18, 2020
@awly awly deleted the andrew/5.0/kube_login_no_profile branch February 11, 2021 04:31
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.

None yet

2 participants