We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 88bd9ba + 02d2a78 commit ea5221aCopy full SHA for ea5221a
lib/gitlab/metrics/methods.rb
@@ -50,7 +50,7 @@ def synchronized_cache_fill(key)
50
end
51
52
def disabled_by_feature(options)
53
- options.with_feature && !Feature.get(options.with_feature).enabled?
+ options.with_feature && !::Feature.get(options.with_feature).enabled?
54
55
56
def build_metric!(type, name, options)
0 commit comments