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:
Diffstat (limited to 'lib/gitlab/experiment/rollout/feature.rb')
-rw-r--r--lib/gitlab/experiment/rollout/feature.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/experiment/rollout/feature.rb b/lib/gitlab/experiment/rollout/feature.rb
index 4bef92f5c23..bf31dfe08a0 100644
--- a/lib/gitlab/experiment/rollout/feature.rb
+++ b/lib/gitlab/experiment/rollout/feature.rb
@@ -14,7 +14,7 @@ module Gitlab
def enabled?
return false unless feature_flag_defined?
return false unless Gitlab.com?
- return false unless ::Feature.enabled?(:gitlab_experiment, type: :ops, default_enabled: :yaml)
+ return false unless ::Feature.enabled?(:gitlab_experiment, type: :ops)
feature_flag_instance.state != :off
end
@@ -29,7 +29,7 @@ module Gitlab
# which will assign the control. Otherwise we call super, which will
# assign a variant evenly, or based on our provided distribution rules.
def execute_assignment
- super if ::Feature.enabled?(feature_flag_name, self, type: :experiment, default_enabled: :yaml)
+ super if ::Feature.enabled?(feature_flag_name, self, type: :experiment)
end
# This is what's provided to the `Feature.enabled?` call that will be