diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2018-12-22 14:54:33 +0100 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2019-01-25 20:26:35 +0100 |
commit | c2c34eba62f26bed8cad8b07934e14b4519eef7c (patch) | |
tree | b5ab373fc66274e4a902ff828f1ba460300d30fa /lib/tasks | |
parent | 07a196be3dca5125454262bb96967d5895081c56 (diff) | |
download | gitlab-ce-c2c34eba62f26bed8cad8b07934e14b4519eef7c.tar.gz |
Prepare rake task for storage rollback
We are keeping compatibility with existing scheduled jobs.
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/storage.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/storage.rake b/lib/tasks/gitlab/storage.rake index 09dc3aa9882..8212be90b97 100644 --- a/lib/tasks/gitlab/storage.rake +++ b/lib/tasks/gitlab/storage.rake @@ -37,7 +37,7 @@ namespace :gitlab do print "Enqueuing migration of #{legacy_projects_count} projects in batches of #{helper.batch_size}" helper.project_id_batches do |start, finish| - storage_migrator.bulk_schedule(start, finish) + storage_migrator.bulk_schedule(start: start, finish: finish, operation: :migrate) print '.' end |