Skip to content

Commit

Permalink
rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
jarlah committed Oct 12, 2023
1 parent 4a8118d commit cc9b87c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/reaper.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ defmodule TestcontainersElixir.Reaper do

@impl true
def handle_call({:register, filter}, _from, socket) do
{:reply, do_register(socket, filter), socket}
{:reply, register_filter(socket, filter), socket}
end

defp do_register(socket, {filter_key, filter_value}) do
defp register_filter(socket, {filter_key, filter_value}) do
:gen_tcp.send(
socket,
"#{:uri_string.quote(filter_key)}=#{:uri_string.quote(filter_value)}" <> "\n"
Expand Down

0 comments on commit cc9b87c

Please sign in to comment.