consul/ui-v2/app/templates/dc/services/instance/healthchecks.hbs

25 lines
700 B
Handlebars
Raw Normal View History

<div id="health-checks" class="tab-section">
<div role="tabpanel">
{{#if (gt item.ServiceChecks.length 0) }}
<section data-test-service-checks>
<h3>Service Checks</h3>
<HealthcheckList @items={{item.ServiceChecks}} @exposed={{proxy.ServiceProxy.Expose.Checks}} />
</section>
{{else}}
<p>
This instance has no service health checks.
</p>
{{/if}}
{{#if (gt item.NodeChecks.length 0) }}
<section data-test-node-checks>
<h3>Node Checks</h3>
<HealthcheckList @items={{item.NodeChecks}} />
</section>
{{else}}
<p>
This instance has no node health checks.
</p>
{{/if}}
</div>
</div>