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

go.mod 是否需要更新一下 #6

Open
tsjsdbd opened this issue Jun 17, 2021 · 0 comments
Open

go.mod 是否需要更新一下 #6

tsjsdbd opened this issue Jun 17, 2021 · 0 comments

Comments

@tsjsdbd
Copy link

tsjsdbd commented Jun 17, 2021

也许是我环境的问题(内网,走proxy),也许是 go.mod确实版本需要更新一下:

问题:编译报错

# k8s.io/client-go/rest
D:\Gopath\pkg\mod\k8s.io\[email protected]+incompatible\rest\request.go:598:31: not enough arguments in call to watch.NewStreamWatcher
        have (*versioned.Decoder)
        want (watch.Decoder, watch.Reporter)

解决:修改了go.mod包的版本

	k8s.io/api v0.17.3
	k8s.io/apimachinery v0.17.3
	k8s.io/client-go v0.17.3
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

1 participant