diff options
author | 2021-05-14 23:55:01 -0700 | |
---|---|---|
committer | 2021-05-14 23:55:01 -0700 | |
commit | d1f520a5b2f57d2939ab0949ad0b351a127e535b (patch) | |
tree | fe905361ea45e0d34f6e652cc29e7bfd27af2f77 /plugin | |
parent | ef0feaed31f3bd648790f2c52251b4084ddf66d6 (diff) | |
download | coredns-d1f520a5b2f57d2939ab0949ad0b351a127e535b.tar.gz coredns-d1f520a5b2f57d2939ab0949ad0b351a127e535b.tar.zst coredns-d1f520a5b2f57d2939ab0949ad0b351a127e535b.zip |
Fix etcd to use v3.5.0-alpha.0 (#4628)
Signed-off-by: Jason Du <xdu@infoblox.com>
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/etcd/etcd.go | 4 | ||||
-rw-r--r-- | plugin/etcd/setup.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugin/etcd/etcd.go b/plugin/etcd/etcd.go index 3935baf0b..077e490f1 100644 --- a/plugin/etcd/etcd.go +++ b/plugin/etcd/etcd.go @@ -16,8 +16,8 @@ import ( "github.com/coredns/coredns/request" "github.com/miekg/dns" - etcdcv3 "go.etcd.io/etcd/clientv3" - "go.etcd.io/etcd/mvcc/mvccpb" + "go.etcd.io/etcd/api/v3/mvccpb" + etcdcv3 "go.etcd.io/etcd/client/v3" ) const ( diff --git a/plugin/etcd/setup.go b/plugin/etcd/setup.go index 622e97b91..6a214d3fa 100644 --- a/plugin/etcd/setup.go +++ b/plugin/etcd/setup.go @@ -9,7 +9,7 @@ import ( mwtls "github.com/coredns/coredns/plugin/pkg/tls" "github.com/coredns/coredns/plugin/pkg/upstream" - etcdcv3 "go.etcd.io/etcd/clientv3" + etcdcv3 "go.etcd.io/etcd/client/v3" ) func init() { plugin.Register("etcd", setup) } |