Commit 168cb81c authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix conflicts resolution in workhorse/artifacts code

parent 74c8f493
...@@ -121,18 +121,13 @@ module Gitlab ...@@ -121,18 +121,13 @@ module Gitlab
] ]
end end
def send_artifacts_entry(build, entry) def send_artifacts_entry(build, path)
file = build.artifacts_file file = build.artifacts_file
archive = archive = file.file_storage? ? file.path : file.url
if file.file_storage?
file.path
else
file.url
end
params = { params = {
'Archive' => archive, 'Archive' => archive,
'Entry' => Base64.encode64(entry.path) 'Entry' => Base64.encode64(path.to_s)
} }
[ [
......
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