From 757742de710658d38cd718a78c4273ad5c8bd6f7 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Fri, 28 Apr 2017 19:13:08 +0200 Subject: Support cache storage --- lib/api/runner.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/api/runner.rb') 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 -- cgit v1.2.1