Skip to content

Commit

Permalink
GODRIVER-3257 Update client.go (#1681)
Browse files Browse the repository at this point in the history
Co-authored-by: Qingyang Hu <[email protected]>
  • Loading branch information
anandkumarjha54321 and qingyang-hu authored Jun 25, 2024
1 parent fb39da8 commit d43da19
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 @@ -209,10 +209,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 d43da19

Please sign in to comment.