Fix rubocop
This commit is contained in:
parent
89eb622273
commit
529edc9e85
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue