diff options
author | James Lopez <james@jameslopez.es> | 2017-09-06 10:16:11 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-09-06 10:16:11 +0200 |
commit | e5f91e524628faab81c1d61ebcaa00eaf0954ff6 (patch) | |
tree | 691f7d5ce52b61ccc6d6e0d9373a1eee15993bed /app | |
parent | 89ca01eb1a2eac5472f3957bb425700dcac82a7a (diff) | |
download | gitlab-ce-e5f91e524628faab81c1d61ebcaa00eaf0954ff6.tar.gz |
refactor code based on feedbackfix/import-export-performance
Diffstat (limited to 'app')
-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 6a859af73c3..28c16d4037f 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -452,7 +452,7 @@ module Ci end def serializable_hash(options = {}) - super(options.merge(when: read_attribute(:when))) + super(options).merge(when: read_attribute(:when)) end private |