This commit is contained in:
parent
ab85083700
commit
de6e5df0d5
@ -6,6 +6,7 @@ import (
|
||||
"fmt"
|
||||
"github.com/jessevdk/go-flags"
|
||||
clientv3 "go.etcd.io/etcd/client/v3"
|
||||
"go.uber.org/zap"
|
||||
"golang.org/x/net/context"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
@ -79,6 +80,7 @@ func (c *Client) GetEtcdWithEndpoints(endpoints []string) (*clientv3.Client, err
|
||||
Endpoints: endpoints,
|
||||
DialTimeout: operationTimeout,
|
||||
TLS: c.tlsConf,
|
||||
Logger: zap.NewNop(),
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user