Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2018-10-03 18:09:16 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2018-10-03 18:09:16 +0300
commitc5597547a1b907adb036b8341ebaaf1647ea3461 (patch)
treef9fe912a7d6d9f33f3522bfb8af27c31b9a85920 /app/uploaders/lfs_object_uploader.rb
parentf4db21eb22eeb9e07a9f5850d496570992f6d1f9 (diff)
Backport of "Use Geo log to remove files when migrated to object storage"
Diffstat (limited to 'app/uploaders/lfs_object_uploader.rb')
-rw-r--r--app/uploaders/lfs_object_uploader.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/uploaders/lfs_object_uploader.rb b/app/uploaders/lfs_object_uploader.rb
index f3d32e6b39d..0a966f3d44f 100644
--- a/app/uploaders/lfs_object_uploader.rb
+++ b/app/uploaders/lfs_object_uploader.rb
@@ -6,6 +6,8 @@ class LfsObjectUploader < GitlabUploader
storage_options Gitlab.config.lfs
+ alias_method :upload, :model
+
def filename
model.oid[4..-1]
end