Fix compile error

pull/974/head
Connor Rigby 2018-08-20 07:51:05 -07:00
parent 6c9afd2533
commit 690ae222e8
No known key found for this signature in database
GPG Key ID: 29A88B24B70456E0
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ defmodule Farmbot.AMQP.ConnectionWorker do
end
def terminate(_, conn) do
if Process.alive(conn.pid) do
if Process.alive?(conn.pid) do
try do
Logger.info "Closing AMQP connection."
:ok = AMQP.Connection.close(conn)