diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ci/api/builds.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/api/builds.rb b/lib/ci/api/builds.rb index 93eed4496e4..7bfcc40a9f1 100644 --- a/lib/ci/api/builds.rb +++ b/lib/ci/api/builds.rb @@ -147,7 +147,7 @@ module Ci build.artifacts_file = artifacts build.artifacts_metadata = metadata build.artifacts_expire_in = params['expire_in'] - build.artifacts_sizes = build.artifacts_metadata_sizes + build.artifacts_size = artifacts.size if build.save present(build, with: Entities::BuildDetails) |