Skip to content

Commit 012338d

Browse files
committed
Fix readPref in replication docs.
1 parent aa479dc commit 012338d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/applications/replication.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ connecting to the :term:`replica set` that provides each :term:`shard`
206206
in the cluster.
207207

208208
In the :program:`mongo` shell, use the
209-
:method:`readPreference() <cursor.readPreference()>` cursor method
209+
:method:`readPref() <cursor.readPref()>` cursor method
210210
provides access to read preferences.
211211

212212
.. warning::

0 commit comments

Comments
 (0)