Skip to content
Snippets Groups Projects
Commit 8b3c7f57 authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Avoid using destroy_all

parent 3703cc4b
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -459,7 +459,8 @@ module Ci
end
 
def erase_test_reports!
job_artifacts.test_reports.destroy_all
# TODO: Use fast_destroy_all in the context of https://gitlab.com/gitlab-org/gitlab-ce/issues/35240
job_artifacts_junit&.destroy
end
 
def erase(opts = {})
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment