Commit 33a856af authored by Micaël Bergeron's avatar Micaël Bergeron

remove a unused requirement

parent fc06882c
require_relative 'helpers'
namespace :gitlab do
namespace :uploads do
desc 'GitLab | Uploads | Migrate the uploaded files to object storage'
task :migrate, [:uploader_class, :model_class, :mounted_as] => :environment do |task, args|
include UploadTaskHelpers
batch_size = ENV.fetch('BATCH', 200)
@to_store = ObjectStorage::Store::REMOTE
@mounted_as = args.mounted_as&.gsub(':', '')&.to_sym
uploader_class = args.uploader_class.constantize
......
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