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

k8s_customize_controller: non-bool klog.V(5) (type klog.Verbose) used as if condition** #14

Open
jianlongzhou opened this issue Dec 11, 2019 · 2 comments

Comments

@jianlongzhou
Copy link

When execute command as follow:
[root@iZj6cfxig0kxb27f497ztzZ src]# cd $GOPATH/src \

&& go get -u k8s.io/apimachinery/pkg/apis/meta/v1
&& go get -u k8s.io/code-generator/...
&& cd $GOPATH/src/k8s.io/code-generator
&& ./generate-groups.sh all
k8s_customize_controller/pkg/client
k8s_customize_controller/pkg/apis
bolingcavalry:v1

Errors occurs, were there any tips to help?

# k8s.io/code-generator/cmd/conversion-gen/generators
k8s.io/code-generator/cmd/conversion-gen/generators/conversion.go:641:2: non-bool klog.V(5) (type klog.Verbose) used as if condition

@liuxiaowei574
Copy link

Have you solved the problem yet? I've met the same mistake now

@jianlongzhou
Copy link
Author

You can make use of this page:https://blog.openshift.com/kubernetes-deep-dive-code-generation-customresources/, as I solve my problems,hoping this helps.

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