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

Build info should be provided by the Server Model

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • None

      A call to Server.Model(), which returns the most recent heartbeat information from the server monitor, does not return the server version or build information since this commit.

      The build information is accessible in Server.monitor.conn.Model() and set in conn/conn.go, but is not accessible by users of the driver without requiring the opening of a new connection.

      A possible implementation would be to copy the version information from the monitor's conn.Model struct into the server.Model struct when returned.

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: