zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

commit b7da1653d425a1bcbf9490084380cf4ed958380a
parent f8be851346cd190786aca9979811dfe53d98ba8f
Author: srfsh <dev@srf.sh>
Date:   Fri, 23 Sep 2022 16:52:29 +0300

Zenflows.Restroom: fix style

Diffstat:
Msrc/zenflows/restroom.ex | 12+++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/zenflows/restroom.ex b/src/zenflows/restroom.ex @@ -20,9 +20,15 @@ defmodule Zenflows.Restroom do A module to interact with Restroom instances over (for now) HTTP. """ -def child_spec(_init_arg) do - Supervisor.child_spec({Zenflows.HTTPC, name: __MODULE__, - scheme: :http, host: host(), port: port()}, id: __MODULE__) +def child_spec(_) do + Supervisor.child_spec( + {Zenflows.HTTPC, + name: __MODULE__, + scheme: :http, + host: host(), + port: port(), + }, + id: __MODULE__) end @doc """