Commit 9ef86b1b authored by Tomasz Maczukin's avatar Tomasz Maczukin

Fix transition failure when metadata not exists

parent 27c4cdbe
......@@ -161,7 +161,7 @@ module Ci
end
before_transition pending: :running do |build|
build.metadata.save_timeout_state!
build.metadata.save_timeout_state! unless build.metadata.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