diff options
-rw-r--r-- | app/workers/archive_trace_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/archive_trace_worker.rb b/app/workers/archive_trace_worker.rb index bad6a3e2fc7..2eb93318d5e 100644 --- a/app/workers/archive_trace_worker.rb +++ b/app/workers/archive_trace_worker.rb @@ -6,7 +6,7 @@ class ArchiveTraceWorker def perform(job_id) Ci::Build.find_by(id: job_id).try do |job| - job.trace.archive! unless build.job_artifacts_trace + job.trace.archive! unless job.job_artifacts_trace end end end |