Closed Mike-Dunton closed 5 years ago
I tried blowing away the ~/go/src/k8s.io but still am having issues trying to go get cache_builder
~/go/src/k8s.io
➜ 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
I was able to get around this by
go get k8s.io/klog cd $GOPATH/src/k8s.io/klog git checkout v0.4.0
I tried blowing away the
~/go/src/k8s.io
but still am having issues trying to go get cache_builder