From cc9b87ca9d3e76acc65d9afee6a8c3b995da43cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarl=20Andr=C3=A9=20H=C3=BCbenthal?= Date: Thu, 12 Oct 2023 19:15:41 +0200 Subject: [PATCH] rename method --- lib/reaper.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/reaper.ex b/lib/reaper.ex index 2aab7af..cc54f8b 100644 --- a/lib/reaper.ex +++ b/lib/reaper.ex @@ -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"