Fix rubocop

This commit is contained in:
Pawel Chojnacki 2018-01-30 11:35:30 +01:00
parent 89eb622273
commit 529edc9e85
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ class PrometheusService < MonitoringService
def prometheus_installed?
return false if template?
project.clusters.enabled.any? { |cluster| cluster.application_prometheus&.installed? }
end