1. use github.com/coreos instead of go.etcd.io in etcd related import path; 2. add dialtimeout to etcd client

This commit is contained in:
outshow
2019-06-11 16:18:37 +08:00
parent 46de3ae9a9
commit 90a9df9b8c
5 changed files with 27 additions and 8 deletions

View File

@@ -6,8 +6,8 @@ import (
"sync"
"time"
cetcd "github.com/coreos/etcd/clientv3"
"github.com/micro/go-micro/config/source"
cetcd "go.etcd.io/etcd/clientv3"
)
type watcher struct {