summaryrefslogtreecommitdiff
path: root/lib/api/runner.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-04-28 19:13:08 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2017-04-28 19:18:40 +0200
commit757742de710658d38cd718a78c4273ad5c8bd6f7 (patch)
tree60ce7d74f42ea42b65c9a0cb95934cb0f6896ab1 /lib/api/runner.rb
parentf3eb2314879d76ac55a672e0b46bdb1e883ceeda (diff)
downloadgitlab-ce-zj-artifacts-object-store.tar.gz
Support cache storagezj-artifacts-object-store
Diffstat (limited to 'lib/api/runner.rb')
-rw-r--r--lib/api/runner.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/api/runner.rb b/lib/api/runner.rb
index 2b85eb8ea68..2bcf487fa38 100644
--- a/lib/api/runner.rb
+++ b/lib/api/runner.rb
@@ -223,8 +223,7 @@ module API
Gitlab::CurrentSettings.current_application_settings.default_artifacts_expire_in
if job.save
- status :created
- #present job, with: Entities::JobRequest::Response
+ present job, with: Entities::JobRequest::Response
else
render_validation_error!(job)
end