Skip to content

Commit 02d2a78

Browse files
committed
Fix "A copy of Gitlab::Metrics::Methods" have been removed error
Closes #44365
1 parent 9fd2d9e commit 02d2a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gitlab/metrics/methods.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def synchronized_cache_fill(key)
5050
end
5151

5252
def disabled_by_feature(options)
53-
options.with_feature && !Feature.get(options.with_feature).enabled?
53+
options.with_feature && !::Feature.get(options.with_feature).enabled?
5454
end
5555

5656
def build_metric!(type, name, options)

0 commit comments

Comments
 (0)