You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What you expected to happen:
cli execute with no error, print List operator parameters
How to reproduce it (as minimally and precisely as possible):
Execute: kubectl-kudo package params list --help
Anything else we need to know?:
The reason is -v is a global flag for log level, see below:
Global Flags:
--home string location of your KUDO config. (default "/home/xw/.kudo")
--kubeconfig string Path to your Kubernetes configuration file. (default "/home/xw/.kube/config")
-n, --namespace string Target namespace for the object. (default "default")
--request-timeout int Request timeout value, in seconds. Defaults to 0 (unlimited)
-v, --v log level for V logs
Environment:
Kubernetes version (use kubectl version):
Client Version: v1.16.2
Server Version: v1.15.5
Suggest just remove the short flag -v, keep the long flag --version for setting the specific package version, I send a PR for this.
Welcome opinions, if it is not ok.
What happened:
Panic when run
kubectl-kudo package params list --help
Output:
What you expected to happen:
cli execute with no error, print List operator parameters
How to reproduce it (as minimally and precisely as possible):
Execute:
kubectl-kudo package params list --help
Anything else we need to know?:
The reason is
-v
is a global flag for log level, see below:Environment:
kubectl version
):Client Version: v1.16.2
Server Version: v1.15.5
kubectl kudo version
):KUDO Version: version.Info{GitVersion:"0.8.0", GitCommit:"2a585aed", BuildDate:"2019-11-08T16:35:17Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
uname -a
):The text was updated successfully, but these errors were encountered: