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-11 03:08:02 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-11 03:08:02 +0300
commitcb2494484e33a0d3c750625908e8b4dda69ab7b4 (patch)
treed3a4748bdb44b5ad7c1952c508dbb18230c45a7b /lib/gitlab/metrics
parent8cd9a013792172f8d64eba8f327e2dadd71efffb (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/metrics')
-rw-r--r--lib/gitlab/metrics/methods.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/metrics/methods.rb b/lib/gitlab/metrics/methods.rb
index 78b00aa04fe..0aad865085b 100644
--- a/lib/gitlab/metrics/methods.rb
+++ b/lib/gitlab/metrics/methods.rb
@@ -56,7 +56,8 @@ module Gitlab
end
def disabled_by_feature(options)
- options.with_feature && !::Feature.enabled?(options.with_feature, type: :undefined, default_enabled: false)
+ options.with_feature && !::Feature.enabled?(options.with_feature,
+ type: :undefined, default_enabled_if_undefined: false)
end
def build_metric!(type, name, options)