Fixed a typo in openReplicatSetSRV' documentation strings.

Merge pull request #134 from why-not-try-calmer/adrien/typo-in-docs
This commit is contained in:
Victor Denisov 2022-09-18 18:02:35 -07:00 committed by GitHub
commit 80c313362b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,7 +177,7 @@ openReplicaSetSRV' :: HostName -> IO ReplicaSet
-- > do
-- > pipe <- openReplicatSetSRV' "cluster#.xxxxx.yyyyy.zzz"
-- > is_auth <- access pipe master "admin" $ auth user_name password
-- > unless (not is_auth) (throwIO $ userError "Authentication failed!")
-- > unless is_auth (throwIO $ userError "Authentication failed!")
openReplicaSetSRV' hostname = do
timeoutSecs <- readIORef globalConnectTimeout
_openReplicaSetSRV timeoutSecs Secure hostname