summaryrefslogtreecommitdiff
path: root/app/serializers/build_details_entity.rb
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2018-02-26 16:35:08 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2018-03-28 13:56:55 +0200
commit36753b78c065a54d7501f37f69fb49506f26688c (patch)
tree6d9b2e01e3ce4bb140ecb0d81ee690bd48cae036 /app/serializers/build_details_entity.rb
parent4ce376c0649faf4dea01857c312379771bdf37b7 (diff)
downloadgitlab-ce-36753b78c065a54d7501f37f69fb49506f26688c.tar.gz
Replace user_readable with human_readable
Diffstat (limited to 'app/serializers/build_details_entity.rb')
-rw-r--r--app/serializers/build_details_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/build_details_entity.rb b/app/serializers/build_details_entity.rb
index d1a4a9561d2..17769790371 100644
--- a/app/serializers/build_details_entity.rb
+++ b/app/serializers/build_details_entity.rb
@@ -6,7 +6,7 @@ class BuildDetailsEntity < JobEntity
expose :pipeline, using: PipelineEntity
expose :timeout, if: -> (*) { !build.used_timeout.nil? } do |build|
- { value: build.used_timeout_user_readable,
+ { value: build.used_timeout_human_readable,
source: build.timeout_source }
end