hide client messages
All checks were successful
Gitea/etcdmtr/pipeline/head This commit looks good

This commit is contained in:
dave 2024-02-22 22:28:34 -08:00
parent ab85083700
commit de6e5df0d5

View File

@ -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(),
})
}