-
Type: New Feature
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Server Discovery and Monitoring
-
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.