Fix NervesHubChannel compile warning
parent
b4aa042ea4
commit
2105fb8a70
|
@ -140,7 +140,10 @@ defmodule FarmbotExt.AMQP.ConnectionWorker do
|
|||
{:reply, conn, state}
|
||||
end
|
||||
|
||||
defp open_connection(token, email, bot, mqtt_server, vhost) do
|
||||
# Public function because the NervesHub channel requires it.
|
||||
# TODO(Connor) - Fix that
|
||||
@doc false
|
||||
def open_connection(token, email, bot, mqtt_server, vhost) do
|
||||
Logger.info("Opening new AMQP connection.")
|
||||
|
||||
# Make sure the types of these fields are correct. If they are not
|
||||
|
|
Loading…
Reference in New Issue