Commit d502ce59 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix rubocop

parent b4ea5e3b
...@@ -31,7 +31,6 @@ class Projects::Clusters::GcpController < Projects::ApplicationController ...@@ -31,7 +31,6 @@ class Projects::Clusters::GcpController < Projects::ApplicationController
if @cluster.persisted? if @cluster.persisted?
redirect_to project_cluster_path(project, @cluster) redirect_to project_cluster_path(project, @cluster)
else else
puts "NOT PERSISTED"
render :new render :new
end end
end end
...@@ -49,7 +48,7 @@ class Projects::Clusters::GcpController < Projects::ApplicationController ...@@ -49,7 +48,7 @@ class Projects::Clusters::GcpController < Projects::ApplicationController
:machine_type :machine_type
]).merge( ]).merge(
provider_type: :gcp, provider_type: :gcp,
platform_type: :kubernetes, platform_type: :kubernetes
) )
end end
......
...@@ -33,7 +33,7 @@ class Projects::Clusters::KubernetesController < Projects::ApplicationController ...@@ -33,7 +33,7 @@ class Projects::Clusters::KubernetesController < Projects::ApplicationController
:ca_cert :ca_cert
]).merge( ]).merge(
provider_type: :user, provider_type: :user,
platform_type: :kubernetes, platform_type: :kubernetes
) )
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment