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 go.etcd.io/etcd/clientv3 fail #12650

Closed
IvanWhisper opened this issue Jan 28, 2021 · 2 comments
Closed

go mod go.etcd.io/etcd/clientv3 fail #12650

IvanWhisper opened this issue Jan 28, 2021 · 2 comments

Comments

@IvanWhisper
Copy link

IvanWhisper commented Jan 28, 2021

when go mod tidy my app with import "go.etcd.io/etcd/clientv3", failed.
Error:
github.com/coreos/bbolt: github.com/coreos/bbolt@v1.3.5: parsing go.mod:
module declares its path as: go.etcd.io/bbolt
but was required as: github.com/coreos/bbolt
Soluation:
github.com/coreos/bbolt => go.etcd.io/bbolt v1.3.5
google.golang.org/grpc => google.golang.org/grpc v1.26.0

(v1.26.+ is not support clientV3 errormsg:undefined: resolver.BuildOption)

It is not friendly,please improve experience

@IvanWhisper IvanWhisper changed the title gomod go mod go.etcd.io/etcd/clientv3 fail Jan 28, 2021
@regel
Copy link

regel commented Feb 19, 2021

workaround: Use clientv3 in release-3.4 branch

go get go.etd.io/etcd/clientv3@release-3.4

@spzala
Copy link
Member

spzala commented May 20, 2021

go get go.etcd.io/etcd/client/v3 should work. Related/dup #11931 Closing per issue triage guidelines. Thanks!

@spzala spzala closed this as completed May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants