Skip to content

Commit 80c3133

Browse files
Fixed a typo in openReplicatSetSRV' documentation strings.
Merge pull request #134 from why-not-try-calmer/adrien/typo-in-docs
2 parents 497025b + 3c3c2d1 commit 80c3133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Database/MongoDB/Connection.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ openReplicaSetSRV' :: HostName -> IO ReplicaSet
177177
-- > do
178178
-- > pipe <- openReplicatSetSRV' "cluster#.xxxxx.yyyyy.zzz"
179179
-- > is_auth <- access pipe master "admin" $ auth user_name password
180-
-- > unless (not is_auth) (throwIO $ userError "Authentication failed!")
180+
-- > unless is_auth (throwIO $ userError "Authentication failed!")
181181
openReplicaSetSRV' hostname = do
182182
timeoutSecs <- readIORef globalConnectTimeout
183183
_openReplicaSetSRV timeoutSecs Secure hostname

0 commit comments

Comments
 (0)