Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-05 00:08:35 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-05 00:08:35 +0300
commita653ddb57e30fc5e40a5b2dbd93eed00d8395533 (patch)
treea805b2e799e896558556392680761e065fe0a1d6 /lib/gitlab/metrics
parente15501a5e1f54249434167c0198dab775bdc4a1f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/metrics')
-rw-r--r--lib/gitlab/metrics/methods.rb2
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)