Commit bea3d730 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'add-project-scope-to-live-trace-feature-flag' into 'master'

Add project scope to live trace feature flag

See merge request gitlab-org/gitlab-ce!31325
parents 7bab7b69 759a3484
...@@ -126,7 +126,7 @@ module Gitlab ...@@ -126,7 +126,7 @@ module Gitlab
raise AlreadyArchivedError, 'Could not write to the archived trace' raise AlreadyArchivedError, 'Could not write to the archived trace'
elsif current_path elsif current_path
File.open(current_path, mode) File.open(current_path, mode)
elsif Feature.enabled?('ci_enable_live_trace') elsif Feature.enabled?('ci_enable_live_trace', job.project)
Gitlab::Ci::Trace::ChunkedIO.new(job) Gitlab::Ci::Trace::ChunkedIO.new(job)
else else
File.open(ensure_path, mode) File.open(ensure_path, mode)
......
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