summaryrefslogtreecommitdiff
path: root/lib/api/runner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/runner.rb')
-rw-r--r--lib/api/runner.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/runner.rb b/lib/api/runner.rb
index dca1b208dad..fd4bb163c77 100644
--- a/lib/api/runner.rb
+++ b/lib/api/runner.rb
@@ -110,7 +110,7 @@ module API
if result.build
Gitlab::Metrics.add_event(:build_found,
project: result.build.project.full_path)
- present Ci::Builds::RunnerPresenter.new(result.build), with: Entities::JobRequest::Response
+ present Ci::BuildRunnerPresenter.new(result.build), with: Entities::JobRequest::Response
else
Gitlab::Metrics.add_event(:build_not_found)
header 'X-GitLab-Last-Update', new_update
@@ -282,7 +282,7 @@ module API
end
if job.update(artifacts_expire_in: expire_in)
- present Ci::Builds::RunnerPresenter.new(job), with: Entities::JobRequest::Response
+ present Ci::BuildRunnerPresenter.new(job), with: Entities::JobRequest::Response
else
render_validation_error!(job)
end