Remove redundant return in Clusters::CreateService

This commit is contained in:
Matija Čupić 2017-12-05 13:48:55 +01:00
parent 61a327e369
commit c407d611a9
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE

View file

@ -29,7 +29,7 @@ module Clusters
end
def can_create_cluster?
return project.clusters.empty?
project.clusters.empty?
end
end
end