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

Running deployment CRUD example example fails with incompatibility errors #752

Closed
ahmedtalhakhan opened this issue Feb 13, 2020 · 12 comments

Comments

@ahmedtalhakhan
Copy link

Trying to run the deployment CRUD example present here runs into library incompatibility issues.

I am using version 1.14.8 of K8 and running on MacOS 10.15.1

kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.8", GitCommit:"211047e9a1922595eaa3a1127ed365e9299a6c23", GitTreeState:"clean", BuildDate:"2019-10-15T12:11:03Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.8", GitCommit:"211047e9a1922595eaa3a1127ed365e9299a6c23", GitTreeState:"clean", BuildDate:"2019-10-15T12:02:12Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}

Following errors occur

 go build main.go
go: finding k8s.io/client-go/tools/clientcmd latest
go: finding k8s.io/client-go/util/homedir latest
go: finding k8s.io/client-go/kubernetes latest
go: finding k8s.io/client-go/util/retry latest
go: finding k8s.io/apimachinery/pkg/apis/meta latest
go: finding k8s.io/api/apps latest
go: finding k8s.io/api/core latest
go: finding k8s.io/apimachinery/pkg/apis latest
go: finding k8s.io/client-go/tools latest
go: finding k8s.io/client-go/util latest
go: finding k8s.io/apimachinery/pkg latest
go: extracting k8s.io/api v0.17.3
go: extracting k8s.io/klog v1.0.0
go: finding k8s.io/utils/integer latest
go: finding k8s.io/utils latest
go: extracting k8s.io/utils v0.0.0-20200124190032-861946025e34
go: finding golang.org/x/time/rate latest
go: finding golang.org/x/oauth2 latest
go: finding golang.org/x/time latest
# k8s.io/client-go/rest
../../../../go/pkg/mod/k8s.io/client-go@v11.0.0+incompatible/rest/request.go:598:31: not enough arguments in call to watch.NewStreamWatcher
        have (*versioned.Decoder)
        want (watch.Decoder, watch.Reporter)

A similar issue was reported here #584 that suggests to use the instructions about modules here : https://github.com/kubernetes/client-go/blob/master/INSTALL.md#go-modules. But these suggestions do not seem to work.

Even after doing this and removing all the libs/pkgs from previous install, the issue does not go away. The steps that I performed

go mod init test_k8
go: creating new go.mod: module test_k8

go get k8s.io/client-go@kubernetes-1.14.8
go: finding k8s.io/client-go kubernetes-1.14.8
go: extracting k8s.io/client-go v11.0.1-0.20191004102930-01520b8320fc+incompatible
go: extracting k8s.io/client-go v11.0.0+incompatible


 go get k8s.io/api@kubernetes-1.14.8
go: finding k8s.io/api kubernetes-1.14.8
go: downloading k8s.io/api v0.0.0-20191004102349-159aefb8556b
go: extracting k8s.io/api v0.0.0-20191004102349-159aefb8556b
go build k8s.io/api: no non-test Go files in /Users/ahmedtalhakhan/go/pkg/mod/k8s.io/api@v0.0.0-20191004102349-159aefb8556b



go get k8s.io/apimachinery@kubernetes-1.14.8 
go: finding k8s.io/apimachinery kubernetes-1.14.8
go: downloading k8s.io/apimachinery v0.0.0-20191004074956-c5d2f014d689
go: extracting k8s.io/apimachinery v0.0.0-20191004074956-c5d2f014d689
go: extracting k8s.io/apimachinery v0.17.3


go build main.go
go: finding k8s.io/client-go/tools/clientcmd latest
go: finding k8s.io/client-go/util/homedir latest
go: finding k8s.io/client-go/kubernetes latest
go: finding k8s.io/client-go/util/retry latest
go: finding k8s.io/apimachinery/pkg/apis/meta latest
go: finding k8s.io/api/apps latest
go: finding k8s.io/api/core latest
go: finding k8s.io/apimachinery/pkg/apis latest
go: finding k8s.io/client-go/tools latest
go: finding k8s.io/client-go/util latest
go: finding k8s.io/apimachinery/pkg latest
go: extracting k8s.io/api v0.17.3
go: extracting k8s.io/klog v1.0.0
go: finding k8s.io/utils/integer latest
go: finding k8s.io/utils latest
go: extracting k8s.io/utils v0.0.0-20200124190032-861946025e34
go: finding golang.org/x/time/rate latest
go: finding golang.org/x/oauth2 latest
go: finding golang.org/x/time latest
# k8s.io/client-go/rest
../../../../go/pkg/mod/k8s.io/client-go@v11.0.0+incompatible/rest/request.go:598:31: not enough arguments in call to watch.NewStreamWatcher
        have (*versioned.Decoder)
        want (watch.Decoder, watch.Reporter)

Note the output of the command

go get k8s.io/apimachinery@kubernetes-1.14.8 

This is still installing apimachinery v0.17.3 for some reason. How to solve this problem. Any help would be appreciated

@liggitt
Copy link
Member

liggitt commented Feb 13, 2020

Versions of client-go prior to 1.15 did not include go.mod files, so go does not understand what versions of transitive dependencies to use. That makes it fetch the latest version of all transitive dependencies, which are not compatible.

You have a couple options:

  1. Use levels corresponding to kubernetes 1.15, which did start including go.mod files to inform go of transitive dependency versions (remove all deps and do go get k8s.io/client-go@v0.15.10 which corresponds to kubernetes 1.15.10 to try this)
  2. Explicitly fetch matching versions of all transitive dependencies at the 1.14 levels:
go get k8s.io/client-go@kubernetes-1.14.8
go get k8s.io/api@kubernetes-1.14.8
go get k8s.io/apimachinery@kubernetes-1.14.8

@liggitt liggitt closed this as completed Feb 13, 2020
@ahmedtalhakhan
Copy link
Author

ahmedtalhakhan commented Feb 13, 2020

@liggitt if you look at the output that i posted, I did exactly what you are suggesting in option 2

go get k8s.io/client-go@kubernetes-1.14.8
go get k8s.io/api@kubernetes-1.14.8
go get k8s.io/apimachinery@kubernetes-1.14.8 

and I have attached the output of that too. This does not work as shown in the pasted output.

Am I missing something here?

@liggitt
Copy link
Member

liggitt commented Feb 13, 2020

hmm.... starting in a directory containing only the main.go file, I get this (and the build succeeds):

$ go mod init test_k8
go: creating new go.mod: module test_k8

$ go get k8s.io/client-go@kubernetes-1.14.8
go: finding k8s.io/client-go kubernetes-1.14.8

$ go get k8s.io/api@kubernetes-1.14.8
go: finding k8s.io/api kubernetes-1.14.8
go build k8s.io/api: no non-test Go files in /Users/liggitt/go/pkg/mod/k8s.io/api@v0.0.0-20191004102349-159aefb8556b

$ go get k8s.io/apimachinery@kubernetes-1.14.8 
go: finding k8s.io/apimachinery kubernetes-1.14.8

$ go build main.go
go: finding github.com/gogo/protobuf/proto latest
go: finding github.com/googleapis/gnostic/OpenAPIv2 latest
go: finding github.com/golang/protobuf/proto latest
go: finding github.com/gogo/protobuf/sortkeys latest
go: finding k8s.io/utils/buffer latest
go: finding k8s.io/utils/integer latest
go: finding github.com/davecgh/go-spew/spew latest
go: finding k8s.io/utils/trace latest
go: finding golang.org/x/crypto/ssh/terminal latest
go: finding k8s.io/utils latest
go: finding golang.org/x/time/rate latest
go: finding golang.org/x/net/http2 latest
go: finding golang.org/x/crypto/ssh latest
go: finding golang.org/x/oauth2 latest
go: finding golang.org/x/crypto latest
go: finding golang.org/x/time latest
go: finding golang.org/x/net latest
go: downloading golang.org/x/sys v0.0.0-20190412213103-97732733099d
go: downloading github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
go: extracting github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
go: extracting golang.org/x/sys v0.0.0-20190412213103-97732733099d
go: finding github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
go: finding golang.org/x/sys v0.0.0-20190412213103-97732733099d

what version of go are you using?

@liggitt liggitt reopened this Feb 13, 2020
@ahmedtalhakhan
Copy link
Author

ahmedtalhakhan commented Feb 13, 2020

I am using go 1.12.13

go version
go version go1.12.13 darwin/amd64


 echo $GO111MODULE                                         
on

Doing a very fresh start but taking it out into another directory

The output that you have attached is significantly different from mine. Here is my full output now

 go get k8s.io/client-go@kubernetes-1.14.8
go: finding k8s.io/client-go kubernetes-1.14.8
go: extracting k8s.io/client-go v11.0.1-0.20191004102930-01520b8320fc+incompatible
go: extracting k8s.io/client-go v11.0.0+incompatible

go get k8s.io/api@kubernetes-1.14.8
go: finding k8s.io/api kubernetes-1.14.8
go: extracting k8s.io/api v0.0.0-20191004102349-159aefb8556b
go build k8s.io/api: no non-test Go files in /Users/ahmedtalhakhan/go/pkg/mod/k8s.io/api@v0.0.0-20191004102349-159aefb8556b

go get k8s.io/apimachinery@kubernetes-1.14.8 
go: finding k8s.io/apimachinery kubernetes-1.14.8
go: extracting k8s.io/apimachinery v0.0.0-20191004074956-c5d2f014d689
go: extracting k8s.io/apimachinery v0.17.3

go build main.go
go: finding github.com/google/gofuzz v1.1.0
go: finding github.com/gogo/protobuf/sortkeys latest
go: finding github.com/googleapis/gnostic/OpenAPIv2 latest
go: downloading github.com/google/gofuzz v1.1.0
go: finding github.com/golang/protobuf/proto latest
go: finding github.com/gogo/protobuf v1.3.1
go: downloading github.com/gogo/protobuf v1.3.1
go: extracting github.com/google/gofuzz v1.1.0
go: finding github.com/gogo/protobuf/proto latest
go: extracting k8s.io/klog v1.0.0
go: finding golang.org/x/time/rate latest
go: finding k8s.io/utils/integer latest
go: finding golang.org/x/time latest
go: finding golang.org/x/net/http2 latest
go: finding k8s.io/utils latest
go: extracting k8s.io/utils v0.0.0-20200124190032-861946025e34
go: finding github.com/json-iterator/go v1.1.9
go: finding sigs.k8s.io/yaml v1.2.0
go: downloading github.com/json-iterator/go v1.1.9
go: finding golang.org/x/net latest
go: finding golang.org/x/crypto/ssh/terminal latest
go: extracting github.com/json-iterator/go v1.1.9
go: finding golang.org/x/crypto/ssh latest
go: finding github.com/davecgh/go-spew/spew latest
go: finding golang.org/x/crypto latest
go: finding golang.org/x/oauth2 latest
go: downloading sigs.k8s.io/yaml v1.2.0
go: extracting sigs.k8s.io/yaml v1.2.0
go: extracting github.com/gogo/protobuf v1.3.1
go: downloading golang.org/x/text v0.3.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
go: downloading golang.org/x/sys v0.0.0-20190412213103-97732733099d
go: extracting golang.org/x/sys v0.0.0-20190412213103-97732733099d
go: extracting github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
go: extracting golang.org/x/text v0.3.0
go: finding github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
go: finding golang.org/x/sys v0.0.0-20190412213103-97732733099d
# command-line-arguments
./main.go:104:41: too many arguments in call to deploymentsClient.Create
        have (context.Context, *"k8s.io/api/apps/v1".Deployment, "k8s.io/apimachinery/pkg/apis/meta/v1".CreateOptions)
        want (*"k8s.io/api/apps/v1".Deployment)
./main.go:129:42: too many arguments in call to deploymentsClient.Get
        have (context.Context, string, "k8s.io/apimachinery/pkg/apis/meta/v1".GetOptions)
        want (string, "k8s.io/apimachinery/pkg/apis/meta/v1".GetOptions)
./main.go:136:43: too many arguments in call to deploymentsClient.Update
        have (context.Context, *"k8s.io/api/apps/v1".Deployment, "k8s.io/apimachinery/pkg/apis/meta/v1".UpdateOptions)
        want (*"k8s.io/api/apps/v1".Deployment)
./main.go:147:37: too many arguments in call to deploymentsClient.List
        have (context.Context, "k8s.io/apimachinery/pkg/apis/meta/v1".ListOptions)
        want ("k8s.io/apimachinery/pkg/apis/meta/v1".ListOptions)
./main.go:159:36: too many arguments in call to deploymentsClient.Delete
        have (context.Context, string, *"k8s.io/apimachinery/pkg/apis/meta/v1".DeleteOptions)
        want (string, *"k8s.io/apimachinery/pkg/apis/meta/v1".DeleteOptions)

@liggitt
Copy link
Member

liggitt commented Feb 13, 2020

hmm... starting from scratch on the same version

$ go clean -modcache

$ ls
main.go

$ go version
go version go1.12.13 darwin/amd64

$ echo $GO111MODULE
on

$ go mod init test_k8
go: creating new go.mod: module test_k8

$ go get k8s.io/client-go@kubernetes-1.14.8
go: finding k8s.io/client-go kubernetes-1.14.8
go: downloading k8s.io/client-go v11.0.1-0.20191004102930-01520b8320fc+incompatible
go: extracting k8s.io/client-go v11.0.1-0.20191004102930-01520b8320fc+incompatible
go: finding k8s.io/client-go v11.0.0+incompatible
go: downloading k8s.io/client-go v11.0.0+incompatible
go: extracting k8s.io/client-go v11.0.0+incompatible

$ go get k8s.io/api@kubernetes-1.14.8
go: finding k8s.io/api kubernetes-1.14.8
go: downloading k8s.io/api v0.0.0-20191004102349-159aefb8556b
go: extracting k8s.io/api v0.0.0-20191004102349-159aefb8556b
go build k8s.io/api: no non-test Go files in /Users/liggitt/go/pkg/mod/k8s.io/api@v0.0.0-20191004102349-159aefb8556b

$ go get k8s.io/apimachinery@kubernetes-1.14.8
go: finding k8s.io/apimachinery kubernetes-1.14.8
go: downloading k8s.io/apimachinery v0.0.0-20191004074956-c5d2f014d689
go: extracting k8s.io/apimachinery v0.0.0-20191004074956-c5d2f014d689
go: finding k8s.io/apimachinery v0.17.3
go: downloading k8s.io/apimachinery v0.17.3
go: extracting k8s.io/apimachinery v0.17.3

$ go build main.go
go: finding github.com/google/gofuzz v1.1.0
go: finding github.com/gogo/protobuf/sortkeys latest
go: finding github.com/gogo/protobuf/proto latest
go: finding github.com/imdario/mergo v0.3.8
go: finding k8s.io/klog v1.0.0
go: finding k8s.io/utils/buffer latest
go: finding k8s.io/utils/integer latest
go: finding golang.org/x/time/rate latest
go: downloading github.com/google/gofuzz v1.1.0
go: finding golang.org/x/net/http2 latest
go: downloading github.com/imdario/mergo v0.3.8
go: finding golang.org/x/crypto/ssh/terminal latest
go: extracting github.com/google/gofuzz v1.1.0
go: extracting github.com/imdario/mergo v0.3.8
go: downloading k8s.io/klog v1.0.0
go: extracting k8s.io/klog v1.0.0
go: finding github.com/spf13/pflag v1.0.5
go: finding github.com/gogo/protobuf v1.3.1
go: finding k8s.io/utils latest
go: finding github.com/googleapis/gnostic/OpenAPIv2 latest
go: downloading k8s.io/utils v0.0.0-20200124190032-861946025e34
go: downloading github.com/gogo/protobuf v1.3.1
go: extracting k8s.io/utils v0.0.0-20200124190032-861946025e34
go: finding golang.org/x/time latest
go: downloading golang.org/x/time v0.0.0-20191024005414-555d28b269f0
go: extracting golang.org/x/time v0.0.0-20191024005414-555d28b269f0
go: finding golang.org/x/crypto/ssh latest
go: downloading github.com/spf13/pflag v1.0.5
go: finding golang.org/x/net latest
go: downloading golang.org/x/net v0.0.0-20200202094626-16171245cfb2
go: finding golang.org/x/crypto latest
go: downloading golang.org/x/crypto v0.0.0-20200210222208-86ce3cb69678
go: finding k8s.io/utils/trace latest
go: extracting github.com/spf13/pflag v1.0.5
go: finding github.com/golang/protobuf/proto latest
go: finding github.com/googleapis/gnostic v0.4.1
go: finding golang.org/x/oauth2 latest
go: downloading github.com/googleapis/gnostic v0.4.1
go: finding github.com/davecgh/go-spew/spew latest
go: extracting github.com/googleapis/gnostic v0.4.1
go: extracting golang.org/x/crypto v0.0.0-20200210222208-86ce3cb69678
go: finding sigs.k8s.io/yaml v1.2.0
go: extracting golang.org/x/net v0.0.0-20200202094626-16171245cfb2
go: finding gopkg.in/inf.v0 v0.9.1
go: finding github.com/golang/protobuf v1.3.3
go: finding github.com/hashicorp/golang-lru v0.5.4
go: downloading github.com/golang/protobuf v1.3.3
go: finding github.com/davecgh/go-spew v1.1.1
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: extracting golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: finding github.com/modern-go/reflect2 v1.0.1
go: extracting github.com/golang/protobuf v1.3.3
go: extracting github.com/gogo/protobuf v1.3.1
go: downloading sigs.k8s.io/yaml v1.2.0
go: extracting sigs.k8s.io/yaml v1.2.0
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: finding github.com/json-iterator/go v1.1.9
go: extracting github.com/hashicorp/golang-lru v0.5.4
go: downloading github.com/davecgh/go-spew v1.1.1
go: extracting github.com/davecgh/go-spew v1.1.1
go: downloading github.com/modern-go/reflect2 v1.0.1
go: extracting github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/json-iterator/go v1.1.9
go: extracting github.com/json-iterator/go v1.1.9
go: downloading gopkg.in/inf.v0 v0.9.1
go: extracting gopkg.in/inf.v0 v0.9.1
go: finding k8s.io/klog v0.3.0
go: finding github.com/spf13/afero v1.2.2
go: finding github.com/kisielk/gotool v1.0.0
go: finding github.com/kr/pretty v0.2.0
go: finding github.com/go-logr/logr v0.1.0
go: finding golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e
go: finding github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815
go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4
go: finding cloud.google.com/go v0.34.0
go: finding github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742
go: finding gopkg.in/yaml.v2 v2.2.8
go: finding github.com/google/gofuzz v1.0.0
go: finding github.com/stretchr/testify v1.3.0
go: finding golang.org/x/text v0.3.0
go: finding golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3
go: finding github.com/kisielk/errcheck v1.2.0
go: finding github.com/kr/text v0.1.0
go: finding golang.org/x/sys v0.0.0-20190412213103-97732733099d
go: finding github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
go: finding google.golang.org/appengine v1.4.0
go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/davecgh/go-spew v1.1.0
go: finding golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563
go: finding github.com/stretchr/objx v0.1.0
go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15
go: finding gopkg.in/yaml.v2 v2.2.2
go: finding golang.org/x/net v0.0.0-20180724234803-3673e40ba225
go: finding github.com/golang/protobuf v1.2.0
go: finding github.com/kr/pty v1.1.1
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: downloading golang.org/x/sys v0.0.0-20190412213103-97732733099d
go: downloading gopkg.in/yaml.v2 v2.2.8
go: downloading github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
go: downloading golang.org/x/text v0.3.0
go: extracting github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
go: extracting gopkg.in/yaml.v2 v2.2.8
go: extracting golang.org/x/sys v0.0.0-20190412213103-97732733099d
go: extracting golang.org/x/text v0.3.0

and the build succeeds

@ahmedtalhakhan
Copy link
Author

Well.. What other options do we have then?

@liggitt
Copy link
Member

liggitt commented Feb 13, 2020

what is your $GOPROXY setting?

@ahmedtalhakhan
Copy link
Author

Its empty

echo $GOPROXY

Can you paste the go.mod file from your latest test run? May be that can shed some light.

@liggitt
Copy link
Member

liggitt commented Feb 13, 2020

module test_k8

go 1.12

require (
        github.com/gogo/protobuf v1.3.1 // indirect
        github.com/google/gofuzz v1.1.0 // indirect
        github.com/googleapis/gnostic v0.4.1 // indirect
        github.com/hashicorp/golang-lru v0.5.4 // indirect
        github.com/imdario/mergo v0.3.8 // indirect
        github.com/json-iterator/go v1.1.9 // indirect
        github.com/modern-go/reflect2 v1.0.1 // indirect
        github.com/spf13/pflag v1.0.5 // indirect
        golang.org/x/crypto v0.0.0-20200210222208-86ce3cb69678 // indirect
        golang.org/x/net v0.0.0-20200202094626-16171245cfb2 // indirect
        golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect
        golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
        gopkg.in/inf.v0 v0.9.1 // indirect
        k8s.io/api v0.0.0-20191004102349-159aefb8556b // indirect
        k8s.io/apimachinery v0.0.0-20191004074956-c5d2f014d689 // indirect
        k8s.io/client-go v11.0.1-0.20191004102930-01520b8320fc+incompatible // indirect
        k8s.io/klog v1.0.0 // indirect
        k8s.io/utils v0.0.0-20200124190032-861946025e34 // indirect
        sigs.k8s.io/yaml v1.2.0 // indirect
)

@ahmedtalhakhan
Copy link
Author

Mine is exactly the same also.
The content of $GOPATH/pkg/mod/k8s.io look like this

ls -al
total 0
drwxr-xr-x   9 ahmedtalhakhan  staff   288 Feb 13 12:56 .
drwxr-xr-x  17 ahmedtalhakhan  staff   544 Feb 13 12:55 ..
dr-x------  32 ahmedtalhakhan  staff  1024 Feb 13 12:55 api@v0.0.0-20191004102349-159aefb8556b
dr-x------  12 ahmedtalhakhan  staff   384 Feb 13 12:55 apimachinery@v0.0.0-20191004074956-c5d2f014d689
dr-x------  14 ahmedtalhakhan  staff   448 Feb 13 12:55 apimachinery@v0.17.3
dr-x------  31 ahmedtalhakhan  staff   992 Feb 13 12:55 client-go@v11.0.0+incompatible
dr-x------  31 ahmedtalhakhan  staff   992 Feb 13 12:55 client-go@v11.0.1-0.20191004102930-01520b8320fc+incompatible
dr-x------  19 ahmedtalhakhan  staff   608 Feb 13 12:56 klog@v1.0.0
dr-x------  33 ahmedtalhakhan  staff  1056 Feb 13 12:56 utils@v0.0.0-20200124190032-861946025e34

@liggitt
Copy link
Member

liggitt commented Feb 13, 2020

wait... are you trying to use the main.go example from master or from v1.14.8?

@ahmedtalhakhan
Copy link
Author

Uh! I took the file from the wrong branch. I compiles with the one that referenced

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