Commit 011326c4 authored by Thong Kuah's avatar Thong Kuah Committed by Kamil Trzciński

EE: Fix cluster_health check failing on nil

Currently cluster_health is only available for Project level clusters
because we haven't figured out how to install Prometheus for a Group of
projects.
parent 3aa9afff
......@@ -32,7 +32,7 @@
= render 'integration_form'
-# EE-specific
- if @cluster.project.feature_available?(:cluster_health)
- if @cluster.project_type? && @cluster.project.feature_available?(:cluster_health)
= render 'health'
.cluster-applications-table#js-cluster-applications
......
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