diff options
author | Shinya Maeda <shinya@gitlab.com> | 2019-07-31 15:43:52 +0700 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2019-07-31 15:43:52 +0700 |
commit | 759a3484ca787846f1fab9f86cd8105200ea722e (patch) | |
tree | 4867d8ac66fc2ee491b8000e64a20d3cea25f279 /lib | |
parent | d6a2488a5bde638edc59ce425d667e13542aa27e (diff) | |
download | gitlab-ce-759a3484ca787846f1fab9f86cd8105200ea722e.tar.gz |
Add project scope to live trace feature flagadd-project-scope-to-live-trace-feature-flag
Add project scope
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/trace.rb | 2 |
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) |