Apply suggestion to lib/pleroma/pool/connections.ex
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 3 Mar 2020 09:29:57 +0000 (09:29 +0000)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 3 Mar 2020 09:29:57 +0000 (09:29 +0000)
lib/pleroma/pool/connections.ex

index c5098cd867377b494e741533905fe6b026429882..c4c5fd66c20785d23bb0ed66e7e2b8ce2e6a1ecf 100644 (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 ->