diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-07-04 09:21:57 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-07-05 04:52:50 +0300 |
commit | d86bed76500350ab167cb4520fab038bdb7ead81 (patch) | |
tree | ce66bba7ce55790d793c4b69070d48e463619944 | |
parent | 8e25ec3ad18417ad4364e5c1a3a0c4d6b3bba5ae (diff) |
Rename build to job in ArchiveTraceWorker
-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 |