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