diff --git a/source/connect/connection-targets.txt b/source/connect/connection-targets.txt index 9ef68a26..c9f3063f 100644 --- a/source/connect/connection-targets.txt +++ b/source/connect/connection-targets.txt @@ -101,15 +101,17 @@ set ``myreplset``, which is running on port ``27017`` of three different hosts :end-before: end-connect-replica :dedent: -.. note:: - - The ``mongoc_client_new()`` function is *non-blocking*. - When you connect to a replica set, the constructor returns immediately while the - client uses background threads to connect to the replica set. +The ``mongoc_client_new()`` function is *non-blocking*. +When you connect to a replica set, the constructor returns immediately while the +client uses background threads to connect to the replica set. - If you construct a ``mongoc_client_t`` object and immediately print the string representation - of its ``nodes`` attribute, the list might be empty while the client connects to - the replica-set members. +If you construct a ``mongoc_client_t`` object and immediately print the string representation +of its ``nodes`` attribute, the list might be empty while the client connects to +the replica-set members. + +.. note:: Replica Set in Docker + + .. sharedinclude:: dbx/docker-replica-set.rst API Documentation -----------------