etcd: Bump to new 3.4.x version

This moves to the newest etcd release, and also updates the imports to
the new go.etcd.io path. I think this is a bit of a pain, but might as
well get it done.
This commit is contained in:
James Shubin
2019-12-17 02:38:55 -05:00
parent fdc459ec5b
commit e73007c398
27 changed files with 58 additions and 58 deletions

View File

@@ -27,10 +27,10 @@ import (
"github.com/purpleidea/mgmt/util"
"github.com/purpleidea/mgmt/util/errwrap"
etcd "github.com/coreos/etcd/clientv3"
pb "github.com/coreos/etcd/etcdserver/etcdserverpb"
"github.com/coreos/etcd/mvcc/mvccpb"
etcdtypes "github.com/coreos/etcd/pkg/types" // generated package
etcd "go.etcd.io/etcd/clientv3"
pb "go.etcd.io/etcd/etcdserver/etcdserverpb"
"go.etcd.io/etcd/mvcc/mvccpb"
etcdtypes "go.etcd.io/etcd/pkg/types" // generated package
)
// setEndpoints sets the endpoints on the etcd client if it exists. It