From 7e303970267fccae52efa1bb5b610f6797d9b421 Mon Sep 17 00:00:00 2001 From: Lonnie Liu Date: Wed, 29 Aug 2018 21:12:42 -0700 Subject: [PATCH] fix etcd import path --- sd/etcd/client.go | 2 +- sd/etcd/client_test.go | 2 +- sd/etcd/instancer_test.go | 2 +- sd/etcd/registrar.go | 2 +- sd/etcdv3/client.go | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sd/etcd/client.go b/sd/etcd/client.go index d6899a3e8..2a6cc9a95 100644 --- a/sd/etcd/client.go +++ b/sd/etcd/client.go @@ -10,7 +10,7 @@ import ( "net/http" "time" - etcd "github.com/coreos/etcd/client" + etcd "go.etcd.io/etcd/client" ) var ( diff --git a/sd/etcd/client_test.go b/sd/etcd/client_test.go index 4c8bd91c4..e81922b3e 100644 --- a/sd/etcd/client_test.go +++ b/sd/etcd/client_test.go @@ -8,7 +8,7 @@ import ( "golang.org/x/net/context" - etcd "github.com/coreos/etcd/client" + etcd "go.etcd.io/etcd/client" ) func TestNewClient(t *testing.T) { diff --git a/sd/etcd/instancer_test.go b/sd/etcd/instancer_test.go index 5e18e1098..8631e563a 100644 --- a/sd/etcd/instancer_test.go +++ b/sd/etcd/instancer_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - stdetcd "github.com/coreos/etcd/client" + stdetcd "go.etcd.io/etcd/client" "github.com/go-kit/kit/log" "github.com/go-kit/kit/sd" diff --git a/sd/etcd/registrar.go b/sd/etcd/registrar.go index e38643090..a92a663ee 100644 --- a/sd/etcd/registrar.go +++ b/sd/etcd/registrar.go @@ -4,7 +4,7 @@ import ( "sync" "time" - etcd "github.com/coreos/etcd/client" + etcd "go.etcd.io/etcd/client" "github.com/go-kit/kit/log" ) diff --git a/sd/etcdv3/client.go b/sd/etcdv3/client.go index eaebcdb09..1ae37ff12 100644 --- a/sd/etcdv3/client.go +++ b/sd/etcdv3/client.go @@ -6,8 +6,8 @@ import ( "errors" "time" - "github.com/coreos/etcd/clientv3" - "github.com/coreos/etcd/pkg/transport" + "go.etcd.io/etcd/clientv3" + "go.etcd.io/etcd/pkg/transport" ) var (