diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 18:10:23 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 18:10:23 +0000 |
commit | 8a03b5424b73679d852fbf43781d9422c83869f7 (patch) | |
tree | a24a9c56fce9530492d60a640572922dd65d1072 /app/workers/pipeline_process_worker.rb | |
parent | 0ebbf19f2d2b87e1f2aca1c59efde1aa6a766cf6 (diff) | |
download | gitlab-ce-8a03b5424b73679d852fbf43781d9422c83869f7.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers/pipeline_process_worker.rb')
-rw-r--r-- | app/workers/pipeline_process_worker.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/workers/pipeline_process_worker.rb b/app/workers/pipeline_process_worker.rb index dc14789fe73..43aaac4e311 100644 --- a/app/workers/pipeline_process_worker.rb +++ b/app/workers/pipeline_process_worker.rb @@ -13,9 +13,7 @@ class PipelineProcessWorker # rubocop:disable Scalability/IdempotentWorker data_consistency :delayed, feature_flag: :load_balancing_for_pipeline_process_worker # rubocop: disable CodeReuse/ActiveRecord - # `_build_ids` is deprecated and will be removed in 14.0 - # See: https://gitlab.com/gitlab-org/gitlab/-/issues/232806 - def perform(pipeline_id, _build_ids = nil) + def perform(pipeline_id) Ci::Pipeline.find_by(id: pipeline_id).try do |pipeline| Ci::ProcessPipelineService .new(pipeline) |