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:
authorRémy Coutable <remy@rymai.me>2017-06-07 22:45:03 +0300
committerRémy Coutable <remy@rymai.me>2017-06-09 18:21:39 +0300
commit54c04f53fddc36d62a3d3d4125c9fe205138fc63 (patch)
tree57eba99111815c7d761e26b51ef13d3e01756750 /lib/gitlab/performance_bar.rb
parentadd21d409f65fd9ea8cb6b253f876322c2770612 (diff)
Fix spec failures and add a feature flag for the performance bar
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib/gitlab/performance_bar.rb')
-rw-r--r--lib/gitlab/performance_bar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/performance_bar.rb b/lib/gitlab/performance_bar.rb
index 3324fec94d4..163a40ad306 100644
--- a/lib/gitlab/performance_bar.rb
+++ b/lib/gitlab/performance_bar.rb
@@ -1,7 +1,7 @@
module Gitlab
module PerformanceBar
def self.enabled?
- ENV["PERFORMANCE_BAR"] == '1'
+ Feature.enabled?('gitlab_performance_bar')
end
end
end