diff options
Diffstat (limited to 'app/services/ci/job_artifacts/bulk_delete_by_project_service.rb')
-rw-r--r-- | app/services/ci/job_artifacts/bulk_delete_by_project_service.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/services/ci/job_artifacts/bulk_delete_by_project_service.rb b/app/services/ci/job_artifacts/bulk_delete_by_project_service.rb index 7862774473c..738fa19e29b 100644 --- a/app/services/ci/job_artifacts/bulk_delete_by_project_service.rb +++ b/app/services/ci/job_artifacts/bulk_delete_by_project_service.rb @@ -30,10 +30,7 @@ module Ci return ServiceResponse.error(message: 'Not all artifacts belong to requested project') end - result = Ci::JobArtifacts::DestroyBatchService.new( - job_artifact_scope, - skip_trace_artifacts: false - ).execute + result = Ci::JobArtifacts::DestroyBatchService.new(job_artifact_scope).execute destroyed_artifacts_count = result.fetch(:destroyed_artifacts_count) destroyed_ids = result.fetch(:destroyed_ids) |