Commit 9aa76f78 authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflict in lib/gitlab/workhorse.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 72aabe5e
...@@ -121,20 +121,13 @@ module Gitlab ...@@ -121,20 +121,13 @@ module Gitlab
] ]
end end
<<<<<<< HEAD def send_artifacts_entry(build, entry)
def send_artifacts_entry(build, path)
file = build.artifacts_file file = build.artifacts_file
archive = file.file_storage? ? file.path : file.url archive = file.file_storage? ? file.path : file.url
params = { params = {
'Archive' => archive, 'Archive' => archive,
'Entry' => Base64.encode64(path.to_s)
=======
def send_artifacts_entry(build, entry)
params = {
'Archive' => build.artifacts_file.path,
'Entry' => Base64.encode64(entry.to_s) 'Entry' => Base64.encode64(entry.to_s)
>>>>>>> upstream/master
} }
[ [
......
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