Skip to content

Commit d4c137e

Browse files
author
Andrew Leung
committed
updating ruby example to current version of driver
1 parent a2012d0 commit d4c137e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/administration/ssl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ replica set:
174174

175175
.. code-block:: ruby
176176

177-
connection = Mongo::ReplSetConnection.new(['localhost', 27017],
178-
['localhost', 27018],
177+
connection = Mongo::ReplSetConnection.new(['localhost:27017'],
178+
['localhost:27018'],
179179
:ssl => true)
180180

181181
Here, :program:`mongod` instance run on "``localhost:27017``" and

0 commit comments

Comments
 (0)