Commit 4e39d571 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'list-multiple-clusters' of...

Merge branch 'list-multiple-clusters' of https://gitlab.com/gitlab-org/gitlab-ce into list-multiple-clusters

* 'list-multiple-clusters' of https://gitlab.com/gitlab-org/gitlab-ce:
  Simplify Clusters::CreateService cluster check
parents 1b40a9f8 36d24c30
......@@ -29,11 +29,7 @@ module Clusters
end
def can_create_cluster?
if project.clusters.empty?
true
else
false
end
return project.clusters.empty?
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