Skip to content

Commit

Permalink
GODRIVER-3257 Update client.go (mongodb#1681)
Browse files Browse the repository at this point in the history
Co-authored-by: Qingyang Hu <[email protected]>
(cherry picked from commit d43da19)
  • Loading branch information
anandkumarjha54321 authored and blink1073 committed Jun 25, 2024
1 parent b524a7e commit 07f3816
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mongo/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,6 @@ func newClient(opts ...*options.ClientOptions) (*Client, error) {
clientOpt.SetMaxPoolSize(defaultMaxPoolSize)
}

if err != nil {
return nil, err
}

cfg, err := topology.NewConfig(clientOpt, client.clock)
if err != nil {
return nil, err
Expand Down

0 comments on commit 07f3816

Please sign in to comment.