summaryrefslogtreecommitdiff
path: root/app/workers/build_trace_sections_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/build_trace_sections_worker.rb')
-rw-r--r--app/workers/build_trace_sections_worker.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/build_trace_sections_worker.rb b/app/workers/build_trace_sections_worker.rb
index f4114b3353c..0641130fd64 100644
--- a/app/workers/build_trace_sections_worker.rb
+++ b/app/workers/build_trace_sections_worker.rb
@@ -4,7 +4,9 @@ class BuildTraceSectionsWorker
include ApplicationWorker
include PipelineQueue
+ # rubocop: disable CodeReuse/ActiveRecord
def perform(build_id)
Ci::Build.find_by(id: build_id)&.parse_trace_sections!
end
+ # rubocop: enable CodeReuse/ActiveRecord
end