diff options
author | Rémy Coutable <remy@rymai.me> | 2017-06-07 21:45:03 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-09 17:21:39 +0200 |
commit | 54c04f53fddc36d62a3d3d4125c9fe205138fc63 (patch) | |
tree | 57eba99111815c7d761e26b51ef13d3e01756750 /lib | |
parent | add21d409f65fd9ea8cb6b253f876322c2770612 (diff) | |
download | gitlab-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.rb | 2 |
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 |