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/controllers/clusters/integrations_controller.rb')
-rw-r--r--app/controllers/clusters/integrations_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/clusters/integrations_controller.rb b/app/controllers/clusters/integrations_controller.rb
index a8c7eb10136..17884a55242 100644
--- a/app/controllers/clusters/integrations_controller.rb
+++ b/app/controllers/clusters/integrations_controller.rb
@@ -24,7 +24,7 @@ module Clusters
end
def cluster_integration_params
- params.require(:integration).permit(:application_type, :enabled)
+ params.permit(integration: [:enabled, :application_type]).require(:integration)
end
def cluster