Skip to content

Commit 9dbbcee

Browse files
committed
fix missing keyword parameter value
This fixes issue where the keyword parameter `amqps` was missing a value in `connection` method. Ref: #32 (comment)
1 parent 695d2b3 commit 9dbbcee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/protocol.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ function connection(; virtualhost="/", host="localhost", port=AMQPClient.AMQP_DE
543543
auth_params=AMQPClient.DEFAULT_AUTH_PARAMS,
544544
channelmax::Integer=AMQPClient.DEFAULT_CHANNELMAX,
545545
connect_timeout=AMQPClient.DEFAULT_CONNECT_TIMEOUT,
546-
amqps::Union{MbedTLS.SSLConfig,Nothing})
546+
amqps::Union{MbedTLS.SSLConfig,Nothing}=nothing)
547547
@debug("connecting", host, port, virtualhost)
548548
conn = Connection(; virtualhost=virtualhost, host=host, port=port, send_queue_size=send_queue_size)
549549
chan = channel(conn, AMQPClient.DEFAULT_CHANNEL, true)

0 commit comments

Comments
 (0)