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 'app/services/environments/canary_ingress/update_service.rb')
-rw-r--r--app/services/environments/canary_ingress/update_service.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/services/environments/canary_ingress/update_service.rb b/app/services/environments/canary_ingress/update_service.rb
index 2b510280873..f9813e5e86d 100644
--- a/app/services/environments/canary_ingress/update_service.rb
+++ b/app/services/environments/canary_ingress/update_service.rb
@@ -34,10 +34,6 @@ module Environments
private
def validate(environment)
- unless Feature.enabled?(:canary_ingress_weight_control, environment.project, default_enabled: true)
- return error(_("Feature flag is not enabled on the environment's project."))
- end
-
unless can?(current_user, :update_environment, environment)
return error(_('You do not have permission to update the environment.'))
end