aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-08-27 16:58:35 +0100
committerGravatar GitHub <noreply@github.com> 2019-08-27 16:58:35 +0100
commitefcc3758ddd186f1b1ae1394d936744b3b185af8 (patch)
tree7a2c960b2a39f6dbebbdc8fc449c571c860fd5dc /plugin
parent06b61a17c833cb3637ca044a8756e5a772d3ba73 (diff)
downloadcoredns-efcc3758ddd186f1b1ae1394d936744b3b185af8.tar.gz
coredns-efcc3758ddd186f1b1ae1394d936744b3b185af8.tar.zst
coredns-efcc3758ddd186f1b1ae1394d936744b3b185af8.zip
plugin/etcd: fully move to go.etcd.io (#3215)
This is needed as well to make it compile cleanly. Follow up to #3214. Manually removed github.com/coreos/etcd/ from go.mod Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin')
-rw-r--r--plugin/etcd/etcd.go4
-rw-r--r--plugin/etcd/setup.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugin/etcd/etcd.go b/plugin/etcd/etcd.go
index 5c8f9f110..a39cb0e62 100644
--- a/plugin/etcd/etcd.go
+++ b/plugin/etcd/etcd.go
@@ -15,9 +15,9 @@ import (
"github.com/coredns/coredns/request"
"github.com/coredns/coredns/plugin/pkg/upstream"
- etcdcv3 "github.com/coreos/etcd/clientv3"
- "github.com/coreos/etcd/mvcc/mvccpb"
"github.com/miekg/dns"
+ etcdcv3 "go.etcd.io/etcd/clientv3"
+ "go.etcd.io/etcd/mvcc/mvccpb"
)
const (
diff --git a/plugin/etcd/setup.go b/plugin/etcd/setup.go
index 18d3340c5..d7827c875 100644
--- a/plugin/etcd/setup.go
+++ b/plugin/etcd/setup.go
@@ -10,7 +10,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/upstream"
"github.com/caddyserver/caddy"
- etcdcv3 "github.com/coreos/etcd/clientv3"
+ etcdcv3 "go.etcd.io/etcd/clientv3"
)
var log = clog.NewWithPlugin("etcd")