diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/ci/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index 4b4a988d600..cc29c6150d3 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -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 |