Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-07-04 09:21:57 +0300
committerShinya Maeda <shinya@gitlab.com>2018-07-05 04:52:50 +0300
commitd86bed76500350ab167cb4520fab038bdb7ead81 (patch)
treece66bba7ce55790d793c4b69070d48e463619944 /app/workers/archive_trace_worker.rb
parent8e25ec3ad18417ad4364e5c1a3a0c4d6b3bba5ae (diff)
Rename build to job in ArchiveTraceWorker
Diffstat (limited to 'app/workers/archive_trace_worker.rb')
-rw-r--r--app/workers/archive_trace_worker.rb2
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