Commit 30e6a4d8 authored by Mike Kozono's avatar Mike Kozono

Allow transition to failed from any state

Recording a failure should always be allowed by the state machine.
parent f2979986
......@@ -81,7 +81,7 @@ module Gitlab
end
event :verification_failed do
transition verification_started: :verification_failed
transition [:verification_pending, :verification_started, :verification_succeeded, :verification_failed] => :verification_failed
end
event :verification_pending do
......
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