fix etcd import path (#756)
He Liu authored 5 years ago
Peter Bourgon committed 5 years ago
7 | 7 |
|
8 | 8 |
"golang.org/x/net/context"
|
9 | 9 |
|
10 | |
etcd "github.com/coreos/etcd/client"
|
|
10 |
etcd "go.etcd.io/etcd/client"
|
11 | 11 |
)
|
12 | 12 |
|
13 | 13 |
func TestNewClient(t *testing.T) {
|
3 | 3 |
"errors"
|
4 | 4 |
"testing"
|
5 | 5 |
|
6 | |
stdetcd "github.com/coreos/etcd/client"
|
|
6 |
stdetcd "go.etcd.io/etcd/client"
|
7 | 7 |
|
8 | 8 |
"github.com/go-kit/kit/log"
|
9 | 9 |
"github.com/go-kit/kit/sd"
|
3 | 3 |
"sync"
|
4 | 4 |
"time"
|
5 | 5 |
|
6 | |
etcd "github.com/coreos/etcd/client"
|
|
6 |
etcd "go.etcd.io/etcd/client"
|
7 | 7 |
|
8 | 8 |
"github.com/go-kit/kit/log"
|
9 | 9 |
)
|
5 | 5 |
"errors"
|
6 | 6 |
"time"
|
7 | 7 |
|
8 | |
"github.com/coreos/etcd/clientv3"
|
9 | |
"github.com/coreos/etcd/pkg/transport"
|
|
8 |
"go.etcd.io/etcd/clientv3"
|
|
9 |
"go.etcd.io/etcd/pkg/transport"
|
10 | 10 |
)
|
11 | 11 |
|
12 | 12 |
var (
|