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

Function mongo.newClient should not call topology.Connect

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.4
    • Affects Version/s: 0.0.3
    • Component/s: CRUD
    • None

      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.

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

              Created:
              Updated:
              Resolved: