aboutsummaryrefslogtreecommitdiff
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
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>
-rw-r--r--go.mod3
-rw-r--r--plugin/etcd/etcd.go4
-rw-r--r--plugin/etcd/setup.go2
-rw-r--r--test/etcd_test.go2
4 files changed, 5 insertions, 6 deletions
diff --git a/go.mod b/go.mod
index 6491318ad..0488188f4 100644
--- a/go.mod
+++ b/go.mod
@@ -15,7 +15,6 @@ require (
github.com/caddyserver/caddy v1.0.3
github.com/coredns/federation v0.0.0-20190818181423-e032b096babe
github.com/coreos/bbolt v1.3.2 // indirect
- github.com/coreos/etcd v3.3.15+incompatible
github.com/coreos/go-systemd v0.0.0-20190212144455-93d5ec2c7f76 // indirect
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
github.com/dnstap/golang-dnstap v0.0.0-20170829151710-2cf77a2b5e11
@@ -42,7 +41,7 @@ require (
github.com/spf13/cobra v0.0.5 // indirect
github.com/tinylib/msgp v1.1.0 // indirect
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect
- go.etcd.io/etcd v0.0.0-20190823073701-67d0c21bb04c // indirect
+ go.etcd.io/etcd v0.0.0-20190823073701-67d0c21bb04c
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 // indirect
golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect
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")
diff --git a/test/etcd_test.go b/test/etcd_test.go
index 2ac165beb..f47c72065 100644
--- a/test/etcd_test.go
+++ b/test/etcd_test.go
@@ -11,8 +11,8 @@ import (
"github.com/coredns/coredns/plugin/etcd"
"github.com/coredns/coredns/plugin/etcd/msg"
- etcdcv3 "github.com/coreos/etcd/clientv3"
"github.com/miekg/dns"
+ etcdcv3 "go.etcd.io/etcd/clientv3"
)
func etcdPlugin() *etcd.Etcd {