diff options
author | Stan Hu <stanhu@gmail.com> | 2018-06-26 17:05:48 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-07-03 09:57:15 -0700 |
commit | e61f66b3d16cf097af8fbf3072018fd7d9ec8b67 (patch) | |
tree | 9bd0d94a016f792b598fc00751c0b9e1ff8b6ffe /lib | |
parent | cd5789415b6e561564073693243e890e79596ed2 (diff) | |
download | gitlab-ce-e61f66b3d16cf097af8fbf3072018fd7d9ec8b67.tar.gz |
When moving issues, don't attempt to move files in object storage
Closes #48505
Diffstat (limited to 'lib')
-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 |