There was an error while loading. Please reload this page.
1 parent 497025b commit 3c3c2d1Copy full SHA for 3c3c2d1
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