We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 497025b + 3c3c2d1 commit 80c3133Copy full SHA for 80c3133
Database/MongoDB/Connection.hs
@@ -177,7 +177,7 @@ openReplicaSetSRV' :: HostName -> IO ReplicaSet
177
-- > do
178
-- > pipe <- openReplicatSetSRV' "cluster#.xxxxx.yyyyy.zzz"
179
-- > is_auth <- access pipe master "admin" $ auth user_name password
180
--- > unless (not is_auth) (throwIO $ userError "Authentication failed!")
+-- > unless is_auth (throwIO $ userError "Authentication failed!")
181
openReplicaSetSRV' hostname = do
182
timeoutSecs <- readIORef globalConnectTimeout
183
_openReplicaSetSRV timeoutSecs Secure hostname
0 commit comments