Skip to content

Conversation

@lwander
Copy link
Contributor

@lwander lwander commented Sep 29, 2017

Before this change, any attempt to load a kubeconfig w/o current-context field would NPE. Since kubectl doesn't have this behavior, and we expose the ability to set a custom context on a kubeconfig, we shouldn't crash here.

@brendandburns
Copy link
Contributor

LGTM

@brendandburns brendandburns merged commit 60a8cd1 into kubernetes-client:master Sep 29, 2017
@lwander lwander deleted the allow-kubeconfig-load-wo-context branch September 29, 2017 15:02
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