Skip to content

Commit

Permalink
titus - expose target group health check
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaslin committed Mar 16, 2018
1 parent 728b4e8 commit 55cd7e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions instance/details/instanceDetails.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h3 select-on-dbl-click>
<dl class="horizontal-when-filters-collapsed">
<dt ng-repeat-start="metric in healthMetrics | orderBy: 'type'">{{metric.type | robotToHuman}}</dt>
<dd ng-repeat-end>
<div ng-if="metric.type !== 'LoadBalancer'">
<div ng-if="metric.type !== 'TargetGroup'">
<span uib-tooltip="{{metric.state.toLowerCase() === 'down' ? metric.description : ''}}" tooltip-placement="left">
<span class="glyphicon glyphicon-{{metric.state}}-triangle"></span>
{{metric.state | robotToHuman}}
Expand All @@ -143,8 +143,8 @@ <h3 select-on-dbl-click>
</span>
</span>
</div>
<div ng-if="metric.type === 'LoadBalancer' && metric.loadBalancers.length" ng-repeat="loadBalancer in metric.loadBalancers">
<instance-load-balancer-health load-balancer="loadBalancer"></instance-load-balancer-health>
<div ng-if="metric.type === 'TargetGroup' && metric.targetGroups.length" ng-repeat="targetGroup in metric.targetGroups">
<instance-load-balancer-health load-balancer="targetGroup"></instance-load-balancer-health>
</div>
</dd>
</dl>
Expand Down

0 comments on commit 55cd7e5

Please sign in to comment.