diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-03 17:33:10 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-03 17:33:10 +0300 |
commit | b2b4f262d52980c236cfc97326904736d0351f27 (patch) | |
tree | 2400d434a7bf1650e83ed42e5d2d8c7948bfe845 /app/controllers | |
parent | c63641ea8687cb0f2c138c618d7a03014f37957f (diff) |
First round of tests
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/clusters/gcp_controller.rb | 8 | ||||
-rw-r--r-- | app/controllers/projects/clusters_controller.rb | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/app/controllers/projects/clusters/gcp_controller.rb b/app/controllers/projects/clusters/gcp_controller.rb index 5e909a57345..66fcceccb37 100644 --- a/app/controllers/projects/clusters/gcp_controller.rb +++ b/app/controllers/projects/clusters/gcp_controller.rb @@ -50,14 +50,6 @@ class Projects::Clusters::GcpController < Projects::ApplicationController ) end - def update_params - params.require(:cluster).permit( - :enabled, - platform_kubernetes_attributes: [ - :namespace - ]) - end - def authorize_google_api unless GoogleApi::CloudPlatform::Client.new(token_in_session, nil) .validate_token(expires_at_in_session) diff --git a/app/controllers/projects/clusters_controller.rb b/app/controllers/projects/clusters_controller.rb index ab32930a434..3c8cecc6425 100644 --- a/app/controllers/projects/clusters_controller.rb +++ b/app/controllers/projects/clusters_controller.rb @@ -77,7 +77,7 @@ class Projects::ClustersController < Projects::ApplicationController :token, :ca_cert, :namespace - ] + ] ) end end |