Commit d502ce59 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix rubocop

parent b4ea5e3b
......@@ -31,7 +31,6 @@ class Projects::Clusters::GcpController < Projects::ApplicationController
if @cluster.persisted?
redirect_to project_cluster_path(project, @cluster)
else
puts "NOT PERSISTED"
render :new
end
end
......@@ -49,7 +48,7 @@ class Projects::Clusters::GcpController < Projects::ApplicationController
:machine_type
]).merge(
provider_type: :gcp,
platform_type: :kubernetes,
platform_type: :kubernetes
)
end
......
......@@ -33,7 +33,7 @@ class Projects::Clusters::KubernetesController < Projects::ApplicationController
:ca_cert
]).merge(
provider_type: :user,
platform_type: :kubernetes,
platform_type: :kubernetes
)
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