Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/ci/trace.rb')
-rw-r--r--lib/gitlab/ci/trace.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/ci/trace.rb b/lib/gitlab/ci/trace.rb
index e93bd75a9fa..95a60b852b8 100644
--- a/lib/gitlab/ci/trace.rb
+++ b/lib/gitlab/ci/trace.rb
@@ -74,14 +74,14 @@ module Gitlab
end
def exist?
- archived? || live_trace_exist?
+ archived? || live?
end
def archived?
trace_artifact&.stored?
end
- def live_trace_exist?
+ def live?
job.trace_chunks.any? || current_path.present? || old_trace.present?
end