diff options
author | Toon Claes <toon@gitlab.com> | 2018-10-03 18:09:16 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2018-10-03 18:09:16 +0300 |
commit | c5597547a1b907adb036b8341ebaaf1647ea3461 (patch) | |
tree | f9fe912a7d6d9f33f3522bfb8af27c31b9a85920 /app/uploaders/lfs_object_uploader.rb | |
parent | f4db21eb22eeb9e07a9f5850d496570992f6d1f9 (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.rb | 2 |
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 |