@@ -43,21 +42,6 @@ class Projects::Clusters::GcpController < Projects::ApplicationController
...
@@ -43,21 +42,6 @@ class Projects::Clusters::GcpController < Projects::ApplicationController
private
private
defverify_billing
casegcp_projects&.empty?
whennil
flash.now[:alert]=_('We could not verify that one of your projects on GCP has billing enabled. Please try again.')
whentrue
flash.now[:alert]=_('Please <a href=%{link_to_billing} target="_blank" rel="noopener noreferrer">enable billing for one of your projects to be able to create a Kubernetes cluster</a>, then try again.').html_safe%{link_to_billing: "https://console.cloud.google.com/freetrial?utm_campaign=2018_cpanel&utm_source=gitlab&utm_medium=referral"}