Commit d337932e authored by Ruben Davila's avatar Ruben Davila

Fix bad arguments passed to BackgroundMigrationWorker

According to the docs we should be passing an Array of Arrays:
https://gitlab.com/gitlab-org/gitlab-ee/blob/661a324d578be01742ec2d77bf0adeb59c69faea/app/workers/background_migration_worker.rb#L5-10
parent 661a324d
......@@ -101,7 +101,7 @@ class UpdateAuthorizedKeysFile < ActiveRecord::Migration
end
def update_authorized_keys_file_since(cutoff_datetime)
job = ['UpdateAuthorizedKeysFileSince', [cutoff_datetime]]
job = [['UpdateAuthorizedKeysFileSince', [cutoff_datetime]]]
BackgroundMigrationWorker.perform_bulk(job)
end
end
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