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
path: root/lib/ci/api
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ci/api')
-rw-r--r--lib/ci/api/runners.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/api/runners.rb b/lib/ci/api/runners.rb
index 1e738a73157..8704917b9e4 100644
--- a/lib/ci/api/runners.rb
+++ b/lib/ci/api/runners.rb
@@ -38,7 +38,7 @@ module Ci
)
elsif project = Project.find_by(runners_token: params[:token])
# Create a specific runner for project.
- project.ci_runners.create(
+ project.runners.create(
description: params[:description],
tag_list: params[:tag_list]
)