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

etcd moving to etcd.io from github #2

Merged
merged 1 commit into from
Sep 26, 2020
Merged

Conversation

acarist
Copy link

@acarist acarist commented Dec 31, 2019

etcd moving to etcd.io from github. I updated the imports to new address (etcd.io). I think some projects will need to be updated. i'm getting this error when use this package with etcd new client("go.etcd.io/etcd/clientv3") :
github.com/soyking/e3ch/get.go:19:32: cannot use resp.Kvs[0] (type *"go.etcd.io/etcd/mvcc/mvccpb".KeyValue) as type *"github.com/coreos/etcd/mvcc/mvccpb".KeyValue in argument to clt.createNode

etcd moving to etcd.io from github

etcd moving to etcd.io from github
@Q1mi
Copy link

Q1mi commented Sep 21, 2020

It looks like no one here...

@soyking soyking merged commit b2ed2cd into soyking:master Sep 26, 2020
@soyking
Copy link
Owner

soyking commented Sep 26, 2020

# github.com/soyking/e3ch
./get.go:19:32: cannot use resp.Kvs[0] (type *"github.com/coreos/etcd/mvcc/mvccpb".KeyValue) as type *"go.etcd.io/etcd/mvcc/mvccpb".KeyValue in argument to clt.createNode
./list.go:40:34: cannot use rangeResp.Kvs (type []*"github.com/coreos/etcd/mvcc/mvccpb".KeyValue) as type []*"go.etcd.io/etcd/mvcc/mvccpb".KeyValue in argument to clt.list

I got this error too. Then I found that I should upgrade to etcd v3.4 from here.

And I was so confused that there are no versions like 3.4.x in https://pkg.go.dev/mod/go.etcd.io/etcd?tab=versions . Then I found a long issue at here, and someone said that it would be fixed in v3.5.0. Finally I followed the method decribed here.

Amazing etcd.

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

Successfully merging this pull request may close these issues.

3 participants