Commit 8cb3d7aa authored by Sean Carroll's avatar Sean Carroll

Apply suggestion to app/models/ci/pipeline.rb

parent 93d827a9
......@@ -472,7 +472,7 @@ module Ci
def auto_cancel_running(pipeline, retries: nil)
update(auto_canceled_by: pipeline)
cancel_running(retries) do |job|
cancel_running(retries: retries) do |job|
job.auto_canceled_by = pipeline
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment