diff --git a/x/mongo/driver/topology/pool.go b/x/mongo/driver/topology/pool.go index 7ce544f46c..a8bfcc3c34 100644 --- a/x/mongo/driver/topology/pool.go +++ b/x/mongo/driver/topology/pool.go @@ -443,7 +443,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