Skip to content

Commit 383bfbe

Browse files
committed
fixes #39
1 parent 84e021d commit 383bfbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongo/topology_description.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ defmodule Mongo.TopologyDescription do
7777

7878
:single -> topology.servers
7979

80-
:sharded -> {mongos_servers(topology), false, true}
80+
:sharded -> mongos_servers(topology)
8181
_ ->
8282
case {type, topology.type == :replica_set_with_primary} do
8383
{:read, _} -> select_replica_set_server(topology, read_preference.mode, read_preference)

0 commit comments

Comments
 (0)