fix: remove etcd pings to avoid too-many-pings error (#3212)

This commit is contained in:
Kevin Wan
2023-05-06 12:39:19 +08:00
committed by GitHub
parent 774e8d1d08
commit 8f5a0a2de7
5 changed files with 16 additions and 20 deletions

View File

@@ -48,8 +48,7 @@ type (
)
// NewClient returns a Client.
func NewClient(target string, middlewares ClientMiddlewaresConf,
opts ...ClientOption) (Client, error) {
func NewClient(target string, middlewares ClientMiddlewaresConf, opts ...ClientOption) (Client, error) {
cli := client{
middlewares: middlewares,
}