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

go get fails with go1.12.5 linux/amd64 #677

Closed
giladsh1 opened this issue Sep 10, 2019 · 2 comments
Closed

go get fails with go1.12.5 linux/amd64 #677

giladsh1 opened this issue Sep 10, 2019 · 2 comments

Comments

@giladsh1
Copy link

when running -
go get -u k8s.io/client-go/...

The command returns a non-zero return code with the following error message -

# k8s.io/client-go/transport
src/k8s.io/client-go/transport/round_trippers.go:70:11: cannot convert klog.V(9) (type klog.Verbose) to type bool
src/k8s.io/client-go/transport/round_trippers.go:72:11: cannot convert klog.V(8) (type klog.Verbose) to type bool
src/k8s.io/client-go/transport/round_trippers.go:74:11: cannot convert klog.V(7) (type klog.Verbose) to type bool
src/k8s.io/client-go/transport/round_trippers.go:76:11: cannot convert klog.V(6) (type klog.Verbose) to type bool
# k8s.io/utils/trace
src/k8s.io/utils/trace/trace.go:100:57: invalid operation: stepThreshold == 0 || stepDuration > stepThreshold || klog.V(4) (mismatched types bool and klog.Verbose)
src/k8s.io/utils/trace/trace.go:112:56: invalid operation: stepThreshold == 0 || stepDuration > stepThreshold || klog.V(4) (mismatched types bool and klog.Verbose)
@liggitt
Copy link
Member

liggitt commented Sep 10, 2019

This particular compile error is caused by kubernetes/klog#20, but it is recommended to fetch particular versions of dependencies using go modules, not master of all dependencies like go get k8s.io/client-go/… does (see https://github.com/kubernetes/client-go/blob/master/INSTALL.md)

/close

@k8s-ci-robot
Copy link
Contributor

@liggitt: Closing this issue.

In response to this:

This particular compile error is caused by kubernetes/klog#20, but it is recommended to fetch particular versions of dependencies using go modules, not master of all dependencies like go get k8s.io/client-go/… does (see https://github.com/kubernetes/client-go/blob/master/INSTALL.md)

/close

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.

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

3 participants