Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-05 12:16:49 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-05 12:16:49 +0300
commitdfb8fcbb651812d209d2f42baf6c2bb0e851c861 (patch)
tree5a41087e6808929315ca10ca5c9b3ea2c01a44b5 /lib/api/jobs.rb
parent83600e94262c1fadae98f1e0709f2430aaea03b7 (diff)
Use API helper to send artifact file through Workhorse
Diffstat (limited to 'lib/api/jobs.rb')
-rw-r--r--lib/api/jobs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/jobs.rb b/lib/api/jobs.rb
index 41b3b28037c..41c70a2dcb7 100644
--- a/lib/api/jobs.rb
+++ b/lib/api/jobs.rb
@@ -101,7 +101,7 @@ module API
entry = build.artifacts_metadata_entry(params[:artifact_path])
not_found! unless entry.exists?
- Gitlab::Workhorse.send_artifacts_entry(build, entry)
+ send_artifacts_entry(build, entry)
end
desc 'Download the artifacts file from a job' do