diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-20 06:10:53 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-20 06:10:53 +0000 |
commit | 62c4f807157e1c58fb16db4c75abaed22916272b (patch) | |
tree | 14d872d9b437c5e7199c628b4ac627716786192b /app/workers/expire_build_artifacts_worker.rb | |
parent | 060951c7d132f17a818fe20346efd584c84c710c (diff) | |
download | gitlab-ce-62c4f807157e1c58fb16db4c75abaed22916272b.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers/expire_build_artifacts_worker.rb')
-rw-r--r-- | app/workers/expire_build_artifacts_worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/expire_build_artifacts_worker.rb b/app/workers/expire_build_artifacts_worker.rb index 295703cc1c3..9edff55b838 100644 --- a/app/workers/expire_build_artifacts_worker.rb +++ b/app/workers/expire_build_artifacts_worker.rb @@ -13,8 +13,8 @@ class ExpireBuildArtifactsWorker # rubocop:disable Scalability/IdempotentWorker feature_category :build_artifacts def perform - service = Ci::JobArtifacts::DestroyAllExpiredService.new - artifacts_count = service.execute + artifacts_count = Ci::JobArtifacts::DestroyAllExpiredService.new.execute + log_extra_metadata_on_done(:destroyed_job_artifacts_count, artifacts_count) end end |