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>2021-02-02 09:09:47 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-02-02 09:09:47 +0300
commitbcd0f3a2f6bd59a9de40f5a9f2829cec3d456207 (patch)
tree61512d781122c114e0049971264f031845a857a1 /app/experiments
parent7580728fc297c86cc5a31fb67e7153217facf1c0 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/experiments')
-rw-r--r--app/experiments/application_experiment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/experiments/application_experiment.rb b/app/experiments/application_experiment.rb
index 9a1a37a6b19..92bd8d5783b 100644
--- a/app/experiments/application_experiment.rb
+++ b/app/experiments/application_experiment.rb
@@ -26,7 +26,7 @@ class ApplicationExperiment < Gitlab::Experiment
private
def resolve_variant_name
- return variant_names.first if Feature.enabled?(name, self, type: :experiment)
+ return variant_names.first if Feature.enabled?(name, self, type: :experiment, default_enabled: :yaml)
nil # Returning nil vs. :control is important for not caching and rollouts.
end