summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-06-07 21:45:03 +0200
committerRémy Coutable <remy@rymai.me>2017-06-09 17:21:39 +0200
commit54c04f53fddc36d62a3d3d4125c9fe205138fc63 (patch)
tree57eba99111815c7d761e26b51ef13d3e01756750 /lib
parentadd21d409f65fd9ea8cb6b253f876322c2770612 (diff)
downloadgitlab-ce-54c04f53fddc36d62a3d3d4125c9fe205138fc63.tar.gz
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')
-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