summaryrefslogtreecommitdiff
path: root/src/mongo/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client')
-rw-r--r--src/mongo/client/dbclient_rs.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/client/dbclient_rs.cpp b/src/mongo/client/dbclient_rs.cpp
index e37232c3750..342c9faa952 100644
--- a/src/mongo/client/dbclient_rs.cpp
+++ b/src/mongo/client/dbclient_rs.cpp
@@ -818,8 +818,6 @@ DBClientConnection* DBClientReplicaSet::selectNodeUsingTags(
if (!_lastSlaveOkConn->authenticatedDuringConnect()) {
_authConnection(_lastSlaveOkConn.get());
}
- } else {
- // Mongos pooled connections are authenticated through ShardingConnectionHook::onCreate()
}
LOGV2_DEBUG(20140,