Skip to content

Commit

Permalink
change method scopes to private
Browse files Browse the repository at this point in the history
  • Loading branch information
jarlah committed Oct 13, 2023
1 parent 38efa7d commit a170cde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ex_unit.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule TestcontainersElixir.ExUnit do
end
end

def simple_container(conn, image, port) when is_binary(image) and is_number(port) do
defp simple_container(conn, image, port) when is_binary(image) and is_number(port) do
Api.Container.container_create(conn, %Model.ContainerCreateRequest{
Image: image,
ExposedPorts: %{"#{port}" => %{}},
Expand All @@ -30,7 +30,7 @@ defmodule TestcontainersElixir.ExUnit do
})
end

def reap_container(conn, container_id) when is_binary(container_id) do
defp reap_container(conn, container_id) when is_binary(container_id) do
case GenServer.whereis(Reaper) do
nil ->
{:ok, _} = conn |> Reaper.start_link()
Expand Down

0 comments on commit a170cde

Please sign in to comment.