Commit f8e93cbb authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflict in app/uploaders/legacy_artifact_uploader.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent c58b661f
<<<<<<< HEAD
class LegacyArtifactUploader < ObjectStoreUploader
storage_options Gitlab.config.artifacts
=======
class LegacyArtifactUploader < GitlabUploader
storage :file
>>>>>>> upstream/master
def self.local_store_path
Gitlab.config.artifacts.path
......@@ -14,29 +9,8 @@ class LegacyArtifactUploader < GitlabUploader
File.join(self.local_store_path, 'tmp/uploads/')
end
<<<<<<< HEAD
private
=======
def store_dir
default_local_path
end
def cache_dir
File.join(self.class.local_store_path, 'tmp/cache')
end
def work_dir
File.join(self.class.local_store_path, 'tmp/work')
end
private
def default_local_path
File.join(self.class.local_store_path, default_path)
end
>>>>>>> upstream/master
def default_path
File.join(model.created_at.utc.strftime('%Y_%m'), model.project_id.to_s, model.id.to_s)
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