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