Commit 529edc9e authored by Pawel Chojnacki's avatar Pawel Chojnacki

Fix rubocop

parent 89eb6222
...@@ -127,6 +127,7 @@ class PrometheusService < MonitoringService ...@@ -127,6 +127,7 @@ class PrometheusService < MonitoringService
def prometheus_installed? def prometheus_installed?
return false if template? return false if template?
project.clusters.enabled.any? { |cluster| cluster.application_prometheus&.installed? } project.clusters.enabled.any? { |cluster| cluster.application_prometheus&.installed? }
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