Avoid using destroy_all

This commit is contained in:
Shinya Maeda 2018-07-27 14:32:24 +09:00
parent 3703cc4bbb
commit 8b3c7f57b2
1 changed files with 2 additions and 1 deletions

View File

@ -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 = {})