diff options
Diffstat (limited to 'lib/gitlab/gfm/uploads_rewriter.rb')
-rw-r--r-- | lib/gitlab/gfm/uploads_rewriter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/gfm/uploads_rewriter.rb b/lib/gitlab/gfm/uploads_rewriter.rb index b6eeb5d9a2b..ac00f3e2f8d 100644 --- a/lib/gitlab/gfm/uploads_rewriter.rb +++ b/lib/gitlab/gfm/uploads_rewriter.rb @@ -48,7 +48,7 @@ module Gitlab def find_file(project, secret, file) uploader = FileUploader.new(project, secret: secret) uploader.retrieve_from_store!(file) - uploader.file + uploader.file if uploader.object_store == ObjectStorage::Store::LOCAL end # Because the uploaders use 'move_to_store' we must have a temporary |