diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-06-29 17:44:39 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-06-29 17:44:39 +0800 |
commit | 9d8dca08e440ccb730f20dcd79b3b47aef8aeb2e (patch) | |
tree | 0941c709655e72f6671e7408b72f83416c785203 /lib | |
parent | 1bc0d732f604d7a4a616ba34b8ccbb1987038951 (diff) | |
download | gitlab-ce-9d8dca08e440ccb730f20dcd79b3b47aef8aeb2e.tar.gz |
Use AR callbacks as suggested by:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4964#note_12744656
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ci/api/builds.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ci/api/builds.rb b/lib/ci/api/builds.rb index f6a8d907066..260ac81f5fa 100644 --- a/lib/ci/api/builds.rb +++ b/lib/ci/api/builds.rb @@ -147,7 +147,6 @@ module Ci build.artifacts_file = artifacts build.artifacts_metadata = metadata build.artifacts_expire_in = params['expire_in'] - build.artifacts_size = artifacts.size if build.save present(build, with: Entities::BuildDetails) |