Skip to content

Commit

Permalink
fix(provider/gce): Render namedPorts in svg details, not listeningPor…
Browse files Browse the repository at this point in the history
…t. (#4299)
  • Loading branch information
jtk54 authored Oct 20, 2017
1 parent 503b819 commit 9d30502
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,10 @@ <h4 class="text-center" ng-if="ctrl.serverGroup.isDisabled">[SERVER GROUP IS DIS
</dl>
</collapsible-section>
<collapsible-section heading="Port Name Mapping" ng-if="ctrl.serverGroup.loadBalancingPolicy">
<dl class="horizontal-when-filters-collapsed" ng-if="ctrl.serverGroup.loadBalancingPolicy.listeningPort">
<dd>http &rarr; {{ ctrl.serverGroup.loadBalancingPolicy.listeningPort }}</dd>
<dl class="horizontal-when-filters-collapsed" ng-if="ctrl.serverGroup.loadBalancingPolicy.namedPorts.length">
<dd ng-repeat="namedPort in ctrl.serverGroup.loadBalancingPolicy.namedPorts">
{{ namedPort.name }} &rarr; {{ namedPort.port }}
</dd>
</dl>
</collapsible-section>
<collapsible-section heading="Capacity Metrics" ng-if="ctrl.serverGroup.loadBalancingPolicy">
Expand Down

0 comments on commit 9d30502

Please sign in to comment.