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

incompatible: not enough arguments in call to watch.NewStreamWatcher #691

Closed
lhmily opened this issue Sep 26, 2019 · 2 comments
Closed

incompatible: not enough arguments in call to watch.NewStreamWatcher #691

lhmily opened this issue Sep 26, 2019 · 2 comments

Comments

@lhmily
Copy link

lhmily commented Sep 26, 2019

../../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)

@nikhita
Copy link
Member

nikhita commented Sep 26, 2019

If you are using client-go v11.x, make sure you are using kubernetes-1.14 levels of k8s.io/apimachinery and k8s.io/api.

Something like:

require (
k8s.io/api kubernetes-1.14.7
k8s.io/apimachinery kubernetes-1.14.7
k8s.io/client-go kubernetes-1.14.7
)

More details here: https://github.com/kubernetes/client-go/blob/master/INSTALL.md

/close

@k8s-ci-robot
Copy link
Contributor

@nikhita: Closing this issue.

In response to this:

If you are using client-go v11.x, make sure you are using kubernetes-1.14 levels of k8s.io/apimachinery and k8s.io/api.

Something like:

require (
k8s.io/api kubernetes-1.14.7
k8s.io/apimachinery kubernetes-1.14.7
k8s.io/client-go kubernetes-1.14.7
)

More details here: 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