summaryrefslogtreecommitdiff
path: root/lib/api/project_clusters.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/project_clusters.rb')
-rw-r--r--lib/api/project_clusters.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/project_clusters.rb b/lib/api/project_clusters.rb
index dcc8d94fb79..4f093e9be08 100644
--- a/lib/api/project_clusters.rb
+++ b/lib/api/project_clusters.rb
@@ -65,7 +65,7 @@ module API
use :create_params_ee
end
post ':id/clusters/user' do
- authorize! :add_cluster, user_project, 'Instance does not support multiple Kubernetes clusters'
+ authorize! :add_cluster, user_project
user_cluster = ::Clusters::CreateService
.new(current_user, create_cluster_user_params)