From 23b30c1b3e90336a82f6765d26b47cc8b3f8394e Mon Sep 17 00:00:00 2001 From: Viktor Erlingsson Date: Tue, 17 Oct 2023 17:04:36 +0200 Subject: [PATCH] format --- src/lavinmq/shovel/shovel.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lavinmq/shovel/shovel.cr b/src/lavinmq/shovel/shovel.cr index feab2c3c1b..2c9325c78c 100644 --- a/src/lavinmq/shovel/shovel.cr +++ b/src/lavinmq/shovel/shovel.cr @@ -61,7 +61,7 @@ module LavinMQ if @queue.nil? && @exchange.nil? raise ArgumentError.new("Shovel source requires a queue or an exchange") end - @args = AMQ::Protocol::Table.new() + @args = AMQ::Protocol::Table.new @consumer_args.try &.each do |k, v| @args[k] = v end @@ -183,7 +183,7 @@ module LavinMQ if @exchange.nil? raise ArgumentError.new("Shovel destination requires an exchange") end - @args = AMQ::Protocol::Table.new() + @args = AMQ::Protocol::Table.new @consumer_args.try &.each do |k, v| @args[k] = v end