Commit a738fe68 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'fix-migration' into 'ce-to-ee-2017-07-08'

Fix bad arguments passed to BackgroundMigrationWorker

See merge request !2398
parents 3fae9d64 d337932e
...@@ -101,7 +101,7 @@ class UpdateAuthorizedKeysFile < ActiveRecord::Migration ...@@ -101,7 +101,7 @@ class UpdateAuthorizedKeysFile < ActiveRecord::Migration
end end
def update_authorized_keys_file_since(cutoff_datetime) def update_authorized_keys_file_since(cutoff_datetime)
job = ['UpdateAuthorizedKeysFileSince', [cutoff_datetime]] job = [['UpdateAuthorizedKeysFileSince', [cutoff_datetime]]]
BackgroundMigrationWorker.perform_bulk(job) BackgroundMigrationWorker.perform_bulk(job)
end end
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