-
Notifications
You must be signed in to change notification settings - Fork 183
raise exception when an empty config file is passed to load_kube_config #223
raise exception when an empty config file is passed to load_kube_config #223
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Welcome @MridulS! |
c9d7169
to
537bee0
Compare
537bee0
to
8a3bdb8
Compare
The travis error on functional tests seems to be because of a minikube error.
|
/assign @fabianvf |
/retest |
@MridulS: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/retest |
|
Just wanted to check in to see if this looks okay :) |
/lgtm |
/assign @yliaog |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabianvf, MridulS, yliaog The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
load_kube_config
currently fails with a nondescriptTypeError: 'NoneType'
error if an empty kube_config file is used.Error log
I have added a check to raise a
ConfigException
error if an empty file is encountered.