summaryrefslogtreecommitdiff
path: root/app/services/ci
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-04-30 10:43:29 +0400
committerDylan Griffith <dyl.griffith@gmail.com>2018-04-30 10:43:29 +0400
commit5652ff953cba9773edbcb677908fe3f18b103be3 (patch)
tree0b799f9cbc6f78b93600169b633da60cc8a23058 /app/services/ci
parent8604dbe9f6768a8bb44bf1e1b144f7fd216f3641 (diff)
downloadgitlab-ce-5652ff953cba9773edbcb677908fe3f18b103be3.tar.gz
Rename Runner#group? -> #assigned_to_group? and Runner#project? -> #assigned_to_project?
Diffstat (limited to 'app/services/ci')
-rw-r--r--app/services/ci/register_job_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/register_job_service.rb b/app/services/ci/register_job_service.rb
index 55d0273847c..647bceb3b36 100644
--- a/app/services/ci/register_job_service.rb
+++ b/app/services/ci/register_job_service.rb
@@ -17,7 +17,7 @@ module Ci
builds =
if runner.shared?
builds_for_shared_runner
- elsif runner.group?
+ elsif runner.assigned_to_group?
builds_for_group_runner
else
builds_for_project_runner