Commit 38c324b9 authored by Lin Jen-Shin's avatar Lin Jen-Shin

We don't have to save, transition would save for us

parent 057c0d7a
......@@ -97,7 +97,7 @@ module Ci
end
after_transition :canceled => any - [:canceled] do |pipeline|
pipeline.update(auto_canceled_by: nil)
pipeline.auto_canceled_by = nil
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