Issues with k8s.io/client-go and k8s.io/utils/trace
Mike-Dunton opened this issue · 1 comments
Mike-Dunton commented
I tried blowing away the ~/go/src/k8s.io
but still am having issues trying to go get cache_builder
➜ src go version
go version go1.12.9 darwin/amd64
➜ src go get -u github.com/bonnefoa/kubectl-fzf/cmd/cache_builder
# k8s.io/utils/trace
k8s.io/utils/trace/trace.go:100:57: invalid operation: stepThreshold == 0 || stepDuration > stepThreshold || klog.V(4) (mismatched types bool and klog.Verbose)
k8s.io/utils/trace/trace.go:112:56: invalid operation: stepThreshold == 0 || stepDuration > stepThreshold || klog.V(4) (mismatched types bool and klog.Verbose)
# k8s.io/client-go/transport
k8s.io/client-go/transport/round_trippers.go:70:11: cannot convert klog.V(9) (type klog.Verbose) to type bool
k8s.io/client-go/transport/round_trippers.go:72:11: cannot convert klog.V(8) (type klog.Verbose) to type bool
k8s.io/client-go/transport/round_trippers.go:74:11: cannot convert klog.V(7) (type klog.Verbose) to type bool
k8s.io/client-go/transport/round_trippers.go:76:11: cannot convert klog.V(6) (type klog.Verbose) to type bool
Mike-Dunton commented
I was able to get around this by
go get k8s.io/klog
cd $GOPATH/src/k8s.io/klog
git checkout v0.4.0