diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-13 15:08:53 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-13 15:08:53 +0000 |
commit | 16515bdfcb89ccb28e6eb81020d1646dfa7c6fa4 (patch) | |
tree | ca7676376780d0c476b345f36827a61a4f6d84d3 /app/uploaders | |
parent | 6e91fbf77476011a7fd86ca3467aad6d7b110ff3 (diff) | |
download | gitlab-ce-16515bdfcb89ccb28e6eb81020d1646dfa7c6fa4.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/uploaders')
-rw-r--r-- | app/uploaders/deleted_object_uploader.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/uploaders/deleted_object_uploader.rb b/app/uploaders/deleted_object_uploader.rb new file mode 100644 index 00000000000..fc0f62b920c --- /dev/null +++ b/app/uploaders/deleted_object_uploader.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class DeletedObjectUploader < GitlabUploader + include ObjectStorage::Concern + + storage_options Gitlab.config.artifacts + + def store_dir + model.store_dir + end +end |