From c407d611a9549601c69dae2b45b4b9a49149dc60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20=C4=8Cupi=C4=87?= Date: Tue, 5 Dec 2017 13:48:55 +0100 Subject: Remove redundant return in Clusters::CreateService --- app/services/clusters/create_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services') diff --git a/app/services/clusters/create_service.rb b/app/services/clusters/create_service.rb index 42e384e3d4f..f7927070dd7 100644 --- a/app/services/clusters/create_service.rb +++ b/app/services/clusters/create_service.rb @@ -29,7 +29,7 @@ module Clusters end def can_create_cluster? - return project.clusters.empty? + project.clusters.empty? end end end -- cgit v1.2.1