diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-08-19 15:02:35 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-08-19 15:02:35 +0200 |
commit | a395b76286280d2b5e75ef25fca92dfffe691f71 (patch) | |
tree | 63775b2aed686b8d48b0221690528a260ea8b2d3 /app | |
parent | d147ebf3f8d5493bf9ddff6fee7e4cf86af324bf (diff) | |
download | gitlab-ce-a395b76286280d2b5e75ef25fca92dfffe691f71.tar.gz |
Fix rubocop offense in pipeline modelmark-as-processable
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ci/pipeline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb index 6b4fb0fa794..544559607a1 100644 --- a/app/models/ci/pipeline.rb +++ b/app/models/ci/pipeline.rb @@ -137,7 +137,7 @@ module Ci end def mark_as_processable_after_stage(stage_idx) - builds.skipped.where('stage_idx > ?', stage_idx).each(&:process) + builds.skipped.where('stage_idx > ?', stage_idx).find_each(&:process) end def latest? |