summaryrefslogtreecommitdiff
path: root/app/models/ci/build.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/ci/build.rb')
-rw-r--r--app/models/ci/build.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb
index 7a12d7a3deb..405c89d0103 100644
--- a/app/models/ci/build.rb
+++ b/app/models/ci/build.rb
@@ -242,7 +242,7 @@ module Ci
end
def timeout
- metadata.used_timeout
+ metadata.timeout
end
def triggered_by?(current_user)