Commit 6c8e4193 authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Use find_by_job_id instread of reload

parent 5d0c43ba
......@@ -217,7 +217,7 @@ module Gitlab
end
def trace_artifact
job.job_artifacts_trace&.reload
::Ci::JobArtifact.trace.find_by_job_id(job.id)
end
# For ExclusiveLeaseGuard concern
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment