Commit 88b93f55 authored by Shinya Maeda's avatar Shinya Maeda

Revert trace change

parent ffacc06e
...@@ -59,9 +59,7 @@ module Gitlab ...@@ -59,9 +59,7 @@ module Gitlab
def read def read
stream = Gitlab::Ci::Trace::Stream.new do stream = Gitlab::Ci::Trace::Stream.new do
if trace_artifact if job.trace_chunks.any?
trace_artifact.open
elsif job.trace_chunks.any?
Gitlab::Ci::Trace::ChunkedIO.new(job) Gitlab::Ci::Trace::ChunkedIO.new(job)
elsif current_path elsif current_path
File.open(current_path, "rb") File.open(current_path, "rb")
......
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