summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-09-28 00:41:24 +0200
committerMatija Čupić <matteeyah@gmail.com>2018-09-28 01:40:40 +0200
commit3e309ea70dd3c91a618a0b59b386244d44ec594a (patch)
tree1388427a0fb8a3d7a4115ce907e788565542d350 /lib
parent4de93b6a3e4eabd3eae9eb23910c6acd62649cfa (diff)
downloadgitlab-ce-3e309ea70dd3c91a618a0b59b386244d44ec594a.tar.gz
Refactor migration specs using ActiveRecord models
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/background_migration/populate_external_pipeline_source.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/background_migration/populate_external_pipeline_source.rb b/lib/gitlab/background_migration/populate_external_pipeline_source.rb
index 98eb7f0b897..036fe641757 100644
--- a/lib/gitlab/background_migration/populate_external_pipeline_source.rb
+++ b/lib/gitlab/background_migration/populate_external_pipeline_source.rb
@@ -42,7 +42,7 @@ module Gitlab
.where(
'EXISTS (?) AND NOT EXISTS (?)',
Migratable::CommitStatus.of_type('GenericCommitStatus').has_pipeline.select(1),
- Migratable::CommitStatus.of_type('Ci::Build').has_pipeline.select(1),
+ Migratable::CommitStatus.of_type('Ci::Build').has_pipeline.select(1)
)
end
end