summaryrefslogtreecommitdiff
path: root/app/services/ci/create_pipeline_service.rb
diff options
context:
space:
mode:
authorCédric Tabin <cedric.tabin@gmail.com>2019-09-12 00:09:42 +0200
committerCédric Tabin <cedric.tabin@gmail.com>2019-09-12 07:24:42 +0200
commit6be653208ae7feaf65b57fd267bea7e32fde4ba1 (patch)
tree3053588f410f33d1b04fbff0df194fd742919046 /app/services/ci/create_pipeline_service.rb
parent80e9f7f3463cc67c6eb1dd22fb9e2dc88ebed3f1 (diff)
downloadgitlab-ce-6be653208ae7feaf65b57fd267bea7e32fde4ba1.tar.gz
Fixes non interruptible scope name
Diffstat (limited to 'app/services/ci/create_pipeline_service.rb')
-rw-r--r--app/services/ci/create_pipeline_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/create_pipeline_service.rb b/app/services/ci/create_pipeline_service.rb
index 4a7f62de9e1..d34cafce563 100644
--- a/app/services/ci/create_pipeline_service.rb
+++ b/app/services/ci/create_pipeline_service.rb
@@ -101,7 +101,7 @@ module Ci
.where.not(id: pipeline.id)
.where.not(sha: project.commit(pipeline.ref).try(:id))
.alive_or_scheduled
- .without_interruptible_builds
+ .with_only_interruptible_builds
else
project.ci_pipelines
.where(ref: pipeline.ref)