diff --git a/x/mongo/driver/topology/pool.go b/x/mongo/driver/topology/pool.go index 5775ec3cc3..c96ea9add3 100644 --- a/x/mongo/driver/topology/pool.go +++ b/x/mongo/driver/topology/pool.go @@ -467,7 +467,7 @@ func (p *pool) get(ctx context.Context) (*connection, error) { p.monitor.Event(&event.PoolEvent{ Type: event.GetFailed, Address: p.address.String(), - Reason: reason, + Reason: event.ReasonConnectionErrored, }) } return nil, err