Commit afdfe0db authored by Shinya Maeda's avatar Shinya Maeda

JobArtifactUploader#open raise execption if its not Filestorage

parent 32b750fe
......@@ -16,7 +16,7 @@ class JobArtifactUploader < GitlabUploader
def open
if file_storage?
File.open(path, "rb")
File.open(path, "rb") if path
else
Gitlab::Ci::Trace::HTTP_IO.new(url, size)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment