diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-07-12 08:36:24 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-07-12 08:36:24 +0000 |
commit | 1def071991dddf6a1500c84d9e53a0edd64d45a1 (patch) | |
tree | 1170896aa2f74d2298d9d3785bea45506cdedef3 /lib/api/project_clusters.rb | |
parent | 84054830318a4d4221cc05ca987240c197369fcf (diff) | |
parent | 7fb076f5d086d1194624ccb4c4246cb25f2dad16 (diff) | |
download | gitlab-ce-1def071991dddf6a1500c84d9e53a0edd64d45a1.tar.gz |
Merge branch '55623-group-cluster-apis' into 'master'
Resolve "API support for group-level clusters"
Closes #55623
See merge request gitlab-org/gitlab-ce!30213
Diffstat (limited to 'lib/api/project_clusters.rb')
-rw-r--r-- | lib/api/project_clusters.rb | 2 |
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) |