diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-02-26 16:35:08 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-03-28 13:56:55 +0200 |
commit | 36753b78c065a54d7501f37f69fb49506f26688c (patch) | |
tree | 6d9b2e01e3ce4bb140ecb0d81ee690bd48cae036 /app/serializers/build_details_entity.rb | |
parent | 4ce376c0649faf4dea01857c312379771bdf37b7 (diff) | |
download | gitlab-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.rb | 2 |
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 |