Skip to content

Commit ea5221a

Browse files
author
Robert Speicher
committed
Merge branch 'sh-fix-module-reloading' into 'master'
Fix "A copy of Gitlab::Metrics::Methods" have been removed error Closes #44365 See merge request gitlab-org/gitlab-ce!17810
2 parents 88bd9ba + 02d2a78 commit ea5221a

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)