summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorMicaël Bergeron <mbergeron@gitlab.com>2018-03-29 10:45:36 -0400
committerMicaël Bergeron <mbergeron@gitlab.com>2018-04-02 08:19:34 -0400
commit4f24a65e45840371b290930b70a8e98d42cea9b0 (patch)
tree3d83900416897174c788a8eefcc2432f98eb5304 /lib/tasks
parent80ef79f2bb056c5fa01b1749f942963e30dddcce (diff)
downloadgitlab-ce-4f24a65e45840371b290930b70a8e98d42cea9b0.tar.gz
fix the rake task from being to strict about Group
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/uploads/migrate.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/uploads/migrate.rake b/lib/tasks/gitlab/uploads/migrate.rake
index e7e656a911b..78e18992a8e 100644
--- a/lib/tasks/gitlab/uploads/migrate.rake
+++ b/lib/tasks/gitlab/uploads/migrate.rake
@@ -13,6 +13,7 @@ namespace :gitlab do
def enqueue_batch(batch, index)
job = ObjectStorage::MigrateUploadsWorker.enqueue!(batch,
+ @model_class,
@mounted_as,
@to_store)
puts "Enqueued job ##{index}: #{job}"