Commit faf92651 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix invalid default argument in migration helpers

parent a61f8c44
......@@ -612,7 +612,7 @@ module Gitlab
rescue ArgumentError
end
def sidekiq_queue_migrate(queue_from, to: queue_to)
def sidekiq_queue_migrate(queue_from, to:)
while sidekiq_queue_length(queue_from) > 0
Sidekiq.redis do |conn|
conn.rpoplpush "queue:#{queue_from}", "queue:#{to}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment