diff options
author | Rémy Coutable <remy@rymai.me> | 2018-05-22 15:40:47 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-05-24 20:29:29 +0300 |
commit | 981b8ab7bd72c8500f8cc7f64c9eeff36f454851 (patch) | |
tree | 2da311e3d4196a60f87ec6bafb1e7518508d634a /app/controllers/projects | |
parent | 248cefc7091224d62d4559b9a49813a27b793a0e (diff) |
Reduce CE/EE diff in app/controllers/projects/clusters_controller.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/controllers/projects')
-rw-r--r-- | app/controllers/projects/clusters_controller.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/controllers/projects/clusters_controller.rb b/app/controllers/projects/clusters_controller.rb index aeaba3a0acf..d58039b7d42 100644 --- a/app/controllers/projects/clusters_controller.rb +++ b/app/controllers/projects/clusters_controller.rb @@ -71,19 +71,6 @@ class Projects::ClustersController < Projects::ApplicationController .present(current_user: current_user) end - def create_params - params.require(:cluster).permit( - :enabled, - :name, - :provider_type, - provider_gcp_attributes: [ - :gcp_project_id, - :zone, - :num_nodes, - :machine_type - ]) - end - def update_params if cluster.managed? params.require(:cluster).permit( |