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

依赖版本更新引发错误 #8

Closed
zyt312074545 opened this issue Mar 26, 2019 · 0 comments
Closed

依赖版本更新引发错误 #8

zyt312074545 opened this issue Mar 26, 2019 · 0 comments

Comments

@zyt312074545
Copy link

zyt312074545 commented Mar 26, 2019

运行 etcdsync.go 文件后,产生错误,如下:

panic: codecgen version mismatch: current: 8, need 10. Re-generate file: /go/pkg/mod/github.com/coreos/[email protected]+incompatible/client/keys.generated.go

goroutine 1 [running]:
github.com/coreos/etcd/client.init.0()
	/go/pkg/mod/github.com/coreos/[email protected]+incompatible/client/keys.generated.go:45 +0x104

原因是:
由于 github.com/coreos/etcd/client 更新 github.com/ugorji/go/codec 版本后,引发错误,已有人提交 PR,#10481

项目可以用 mod 管理依赖,避免之后依赖更新引发错误

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