summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2019-07-31 15:43:52 +0700
committerShinya Maeda <shinya@gitlab.com>2019-07-31 15:43:52 +0700
commit759a3484ca787846f1fab9f86cd8105200ea722e (patch)
tree4867d8ac66fc2ee491b8000e64a20d3cea25f279
parentd6a2488a5bde638edc59ce425d667e13542aa27e (diff)
downloadgitlab-ce-add-project-scope-to-live-trace-feature-flag.tar.gz
Add project scope to live trace feature flagadd-project-scope-to-live-trace-feature-flag
Add project scope
-rw-r--r--lib/gitlab/ci/trace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/trace.rb b/lib/gitlab/ci/trace.rb
index cb617080c76..9550bc6d39c 100644
--- a/lib/gitlab/ci/trace.rb
+++ b/lib/gitlab/ci/trace.rb
@@ -126,7 +126,7 @@ module Gitlab
raise AlreadyArchivedError, 'Could not write to the archived trace'
elsif current_path
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)
else
File.open(ensure_path, mode)