We don't have to save, transition would save for us
This commit is contained in:
parent
057c0d7a5c
commit
38c324b95f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue