Skip to content

Commit

Permalink
add a header function for create_ryuk_socket
Browse files Browse the repository at this point in the history
  • Loading branch information
jarlah committed Jul 3, 2024
1 parent 0dce6d1 commit 51e1595
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/testcontainers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ defmodule Testcontainers do
GenServer.call(name, call, @timeout)
end

defp create_ryuk_socket(%Container{} = container, reattempt_count \\ 0)
defp create_ryuk_socket(container, reattempt_count \\ 0)

defp create_ryuk_socket(%Container{} = container, reattempt_count)
when reattempt_count < 3 do
host_port = Container.mapped_port(container, 8080)

Expand Down

0 comments on commit 51e1595

Please sign in to comment.