Skip to content

Commit

Permalink
fix missing keyword parameter value
Browse files Browse the repository at this point in the history
This fixes issue where the keyword parameter `amqps` was missing a value in `connection` method.

Ref: #32 (comment)
  • Loading branch information
tanmaykm committed Feb 15, 2021
1 parent 695d2b3 commit 9dbbcee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocol.jl
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ function connection(; virtualhost="/", host="localhost", port=AMQPClient.AMQP_DE
auth_params=AMQPClient.DEFAULT_AUTH_PARAMS,
channelmax::Integer=AMQPClient.DEFAULT_CHANNELMAX,
connect_timeout=AMQPClient.DEFAULT_CONNECT_TIMEOUT,
amqps::Union{MbedTLS.SSLConfig,Nothing})
amqps::Union{MbedTLS.SSLConfig,Nothing}=nothing)
@debug("connecting", host, port, virtualhost)
conn = Connection(; virtualhost=virtualhost, host=host, port=port, send_queue_size=send_queue_size)
chan = channel(conn, AMQPClient.DEFAULT_CHANNEL, true)
Expand Down

0 comments on commit 9dbbcee

Please sign in to comment.