Skip to content

Commit

Permalink
fix etcd import path (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
h8liu authored and peterbourgon committed Aug 30, 2018
1 parent 4914a69 commit f14434d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sd/etcd/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http"
"time"

etcd "github.com/coreos/etcd/client"
etcd "go.etcd.io/etcd/client"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion sd/etcd/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion sd/etcd/instancer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion sd/etcd/registrar.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions sd/etcdv3/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit f14434d

Please sign in to comment.