Skip to content

Commit 1c657ee

Browse files
committed
rest of comments
1 parent ca8ba41 commit 1c657ee

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

source/connect.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,10 @@ connections and runs database commands.
9393
You can use the same ``Client`` instance to perform multiple tasks, instead of
9494
creating a new one each time. The ``Client`` type is safe for
9595
concurrent use by multiple `goroutines
96-
<https://www.golang-book.com/books/intro/10>`__. To learn more about
97-
how connection pools work in the driver, see the :ref:`FAQ page <golang-faq-connection-pool>`.
96+
<https://www.golang-book.com/books/intro/10>`__.
97+
98+
.. TODO, Add back this line when Connection Pools page is made: To learn more about
99+
how connection pools work in the driver, see the :ref:`Connection Pools guide <golang-connection-pools>`.
98100

99101
You can create a client that uses your connection string and other
100102
client options by passing a ``ClientOptions`` object to the ``Connect()``

source/connect/connection-options/connection-pools.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.. _golang-connection-pools:
12

23
================
34
Connection Pools

source/security/authentication/kerberos.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ preferences:
6868

6969
client, err := mongo.Connect(clientOpts)
7070

71-
You don't need to define a password or the ``PasswordSet`` field in
71+
You can omit a password or the ``PasswordSet`` field in
7272
your ``Credential`` struct if you store authentication keys in
7373
``keytab`` files. You can initialize a credential cache for
7474
authenticating the Kerberos principal using the ``kinit`` binary. To

source/security/authentication/scram.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ Specify SCRAM-SHA-256 Authentication
6060

6161
``SCRAM-SHA-256`` is a salted challenge-response authentication mechanism
6262
(SCRAM) that uses your database username and password, encrypted with the ``SHA-256``
63-
algorithm, to authenticate your user.
64-
65-
Because ``SCRAM-SHA-256`` is the default authentication mechanism,
66-
you don't need to specify an authentication mechanism to enable ``SCRAM-SHA-256``.
63+
algorithm, to authenticate your user. ``SCRAM-SHA-256`` is the default authentication mechanism.
6764

6865
To specify the default authentication mechanism, omit the
6966
``AuthMechanism`` option:

source/security/authentication/x509.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The following code example shows how to specify the ``X.509`` authentication mec
7575

7676
clientOpts := options.Client().ApplyURI(uri).SetAuth(credential)
7777

78-
..
78+
.. TODO
7979
To learn more about configuring your application to use
8080
certificates and TLS/SSL options, see
8181
:ref:`golang-tls-ssl-guide`.

0 commit comments

Comments
 (0)