diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-05 00:08:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-05 00:08:35 +0300 |
commit | a653ddb57e30fc5e40a5b2dbd93eed00d8395533 (patch) | |
tree | a805b2e799e896558556392680761e065fe0a1d6 /lib/gitlab/metrics | |
parent | e15501a5e1f54249434167c0198dab775bdc4a1f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/metrics')
-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 dc9a7ed1312..78b00aa04fe 100644 --- a/lib/gitlab/metrics/methods.rb +++ b/lib/gitlab/metrics/methods.rb @@ -56,7 +56,7 @@ module Gitlab end def disabled_by_feature(options) - options.with_feature && !::Feature.enabled?(options.with_feature, type: :ops) + options.with_feature && !::Feature.enabled?(options.with_feature, type: :undefined, default_enabled: false) end def build_metric!(type, name, options) |