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.
1 parent 324bf90 commit c1b2168Copy full SHA for c1b2168
lib/mongo/mongo_db_connection.ex
@@ -406,7 +406,7 @@ defmodule Mongo.MongoDBConnection do
406
end
407
408
defp handshake_command(%{stable_api: nil}, client) do
409
- [ismaster: 1, helloOk: 1, client: client]
+ [ismaster: 1, helloOk: true, client: client]
410
411
412
defp handshake_command(%{stable_api: stable_api}, client) do
@@ -416,7 +416,7 @@ defmodule Mongo.MongoDBConnection do
416
defp hello_command(cmd, %{hello_ok: false}) do
417
cmd
418
|> Keyword.put(:ismaster, 1)
419
- |> Keyword.put(:helloOk, 1)
+ |> Keyword.put(:helloOk, true)
420
421
422
defp hello_command(cmd, %{hello_ok: true, stable_api: stable_api}) do
0 commit comments