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

error running compiler #598

Closed
snxq opened this issue Apr 24, 2019 · 3 comments
Closed

error running compiler #598

snxq opened this issue Apr 24, 2019 · 3 comments

Comments

@snxq
Copy link

snxq commented Apr 24, 2019

return watch.NewStreamWatcher(restclientwatch.NewDecoder(wrapperDecoder, embeddedDecoder)), nil

compile: error running compiler: exit status 2
/root/.cache/bazel/_bazel_root/9fb8753853fa4f06dcf18e6226b8e4f5/execroot/__main__/vendor/k8s.io/client-go/rest/request.go:598:31: not enough arguments in call to watch.NewStreamWatcher
	have (*versioned.Decoder)
	want (watch.Decoder, watch.Reporter)

Is this my method wrong?

@liggitt
Copy link
Member

liggitt commented Apr 24, 2019

Duplicate of #584

Be sure you are using the tagged version of k8s.io/apimachinery which corresponds to the version of client-go you are using

/close

@k8s-ci-robot
Copy link
Contributor

@liggitt: Closing this issue.

In response to this:

Duplicate of #584

Be sure you are using the tagged version of k8s.io/apimachinery which corresponds to the version of client-go you are using

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

@snxq
Copy link
Author

snxq commented Apr 24, 2019

OK. I got the reason.

Thanks.

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