Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-369

Function mongo.newClient should not call topology.Connect

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 0.0.4
    • 0.0.3
    • CRUD
    • None

    Description

      The mongo.newClient function calls topo.Connect. This is the responsibility of the mongo.Client.Connect method and should not be done in the constructor. Remove the call to topo.Connect in the mongo.newClient function.

      Attachments

        Activity

          People

            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: