mirror of https://github.com/hashicorp/consul
ui: Show read-replica health status (#12758)
parent
4c8c163a48
commit
aad5359491
|
@ -24,7 +24,6 @@
|
||||||
{{@item.Name}}
|
{{@item.Name}}
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
{{#if (not @item.ReadReplica)}}
|
|
||||||
<dt class={{class-map
|
<dt class={{class-map
|
||||||
'health-status'
|
'health-status'
|
||||||
(array 'healthy' @item.Healthy)
|
(array 'healthy' @item.Healthy)
|
||||||
|
@ -34,7 +33,6 @@
|
||||||
<dd>
|
<dd>
|
||||||
{{if (contains @item.Status (array 'leader' 'voter')) 'Active voter' 'Backup voter'}}
|
{{if (contains @item.Status (array 'leader' 'voter')) 'Active voter' 'Backup voter'}}
|
||||||
</dd>
|
</dd>
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue