diff options
author | Stan Hu <stanhu@gmail.com> | 2018-03-16 12:05:39 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-03-16 12:05:39 -0700 |
commit | 02d2a789d2a8a906f76aa2720560b4659f164d2c (patch) | |
tree | fdaef3af2cf8ed93854cb00864cbd7de07c12a8a | |
parent | 9fd2d9ea243e8691c7a7aa9575256ac636d59792 (diff) | |
download | gitlab-ce-02d2a789d2a8a906f76aa2720560b4659f164d2c.tar.gz |
Fix "A copy of Gitlab::Metrics::Methods" have been removed error
Closes #44365
-rw-r--r-- | lib/gitlab/metrics/methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/metrics/methods.rb b/lib/gitlab/metrics/methods.rb index cd7c1e507f7..f79eb0cd1bf 100644 --- a/lib/gitlab/metrics/methods.rb +++ b/lib/gitlab/metrics/methods.rb @@ -50,7 +50,7 @@ module Gitlab end def disabled_by_feature(options) - options.with_feature && !Feature.get(options.with_feature).enabled? + options.with_feature && !::Feature.get(options.with_feature).enabled? end def build_metric!(type, name, options) |