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

Extra error messages showing up before actual error message #37

Closed
navidshaikh opened this issue Mar 6, 2019 · 0 comments
Closed

Extra error messages showing up before actual error message #37

navidshaikh opened this issue Mar 6, 2019 · 0 comments
Milestone

Comments

@navidshaikh
Copy link
Collaborator

KUBECONFIG='' ./kn service list
ERROR: logging before flag.Parse: W0302 11:05:09.100519   14619 client_config.go:548] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
ERROR: logging before flag.Parse: W0302 11:05:09.100769   14619 client_config.go:553] error creating inClusterConfig, falling back to default config: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined
Error: invalid configuration: no configuration has been provided
[..]

Lines starting with 'ERROR: logging before' seem to be some kind of internal error messaging that's popping up. It should be fixed.

knative-prow-robot pushed a commit that referenced this issue Mar 29, 2019
* Fix flag parse error by calling flag.Parse

Fixes #37

* Fix workaround for parse error
@csantanapr csantanapr added this to the v0.1.0 milestone Apr 5, 2019
navidshaikh pushed a commit to navidshaikh/client that referenced this issue Aug 5, 2019
chore(testing): Switched over to build.sh -t
coryrc pushed a commit to coryrc/client that referenced this issue May 14, 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

No branches or pull requests

2 participants