summaryrefslogtreecommitdiff
path: root/app/models/integrations/prometheus.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/integrations/prometheus.rb')
-rw-r--r--app/models/integrations/prometheus.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/integrations/prometheus.rb b/app/models/integrations/prometheus.rb
index 5746343c31c..2e275dab91b 100644
--- a/app/models/integrations/prometheus.rb
+++ b/app/models/integrations/prometheus.rb
@@ -115,7 +115,6 @@ module Integrations
end
def prometheus_available?
- return false if template?
return false unless project
project.all_clusters.enabled.eager_load(:integration_prometheus).any? do |cluster|