Skip to content

Commit

Permalink
Fix docstring for Client#read_preference (#2061)
Browse files Browse the repository at this point in the history
Co-authored-by: shields <shields@tablecheck.com>
  • Loading branch information
2 people authored and p committed Aug 17, 2020
1 parent 04dae97 commit 4e24fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongo/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def server_selector
#
# @return [ BSON::Document ] The user-defined read preference.
# The document may have the following fields:
# - *:read* -- read preference specified as a symbol; valid values are
# - *:mode* -- read preference specified as a symbol; valid values are
# *:primary*, *:primary_preferred*, *:secondary*, *:secondary_preferred*
# and *:nearest*.
# - *:tag_sets* -- an array of hashes.
Expand Down

0 comments on commit 4e24fce

Please sign in to comment.