Apply suggestion to lib/pleroma/pool/connections.ex

This commit is contained in:
Alexander Strizhakov 2020-03-03 09:29:57 +00:00
parent 097ad10d02
commit 2c8d80dc0a

View File

@ -145,7 +145,7 @@ defmodule Pleroma.Pool.Connections do
{:reply, conn, state}
end
%{gun_state: gun_state} when gun_state == :down ->
%{gun_state: :down} ->
{:reply, nil, state}
nil ->