From 61cf95d8a3a736cf7765db7515cbb2f5f74cef8d Mon Sep 17 00:00:00 2001 From: Qingyang Hu Date: Tue, 25 Jun 2024 14:31:43 -0400 Subject: [PATCH] lint code --- mongo/client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/mongo/client.go b/mongo/client.go index 679cda6ae2..4266412aab 100644 --- a/mongo/client.go +++ b/mongo/client.go @@ -209,7 +209,6 @@ func NewClient(opts ...*options.ClientOptions) (*Client, error) { clientOpt.SetMaxPoolSize(defaultMaxPoolSize) } - cfg, err := topology.NewConfig(clientOpt, client.clock) if err != nil { return nil, err