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
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/ci/unlock_artifacts_service.rb')
-rw-r--r--app/services/ci/unlock_artifacts_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/unlock_artifacts_service.rb b/app/services/ci/unlock_artifacts_service.rb
index 07faf90dd6d..7c169cb8395 100644
--- a/app/services/ci/unlock_artifacts_service.rb
+++ b/app/services/ci/unlock_artifacts_service.rb
@@ -17,7 +17,7 @@ module Ci
SQL
loop do
- break if ActiveRecord::Base.connection.exec_query(query).empty?
+ break if Ci::Pipeline.connection.exec_query(query).empty?
end
end