Skip to content

Commit

Permalink
AS max LB number upsize to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
yejingtao committed May 28, 2021
1 parent 05a063a commit 4c7cd9e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h5 class="text-center col-md-7" ng-show="command.region == null">(please select
</div>
</div>
<div style="text-align:center;margin:20px 0;">
<span ng-show="command.vSwitchIds.length>=5" style="color:red;">最多支持5个!!!</span>
<span ng-show="command.vSwitchIds.length>=20" style="color:red;">最多支持20个!!!</span>
</div>
<div class="form-group">
<div class="col-md-3 sm-label-right">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h5 class="text-center" ng-if="!command.viewState.loadBalancersConfigured || com
<div class="form-group" style="margin-top: 10px">
<div class="col-md-10 col-md-offset-1">
<button
ng-disabled="command.vServerGroups.length>=5"
ng-disabled="command.vServerGroups.length>=20"
class="add-new col-md-12"
style="margin:5px 0 10px"
ng-click="loadBalancerCtrl.add()"
Expand All @@ -97,8 +97,8 @@ <h5 class="text-center" ng-if="!command.viewState.loadBalancersConfigured || com
<firewall-label label="Firewall"></firewall-label>
loadBalance
</button>
<span ng-show="command.vServerGroups.length>=5" style="color:red;text-align:center"
>最多支持5个loadBalancerId</span
<span ng-show="command.vServerGroups.length>=20" style="color:red;text-align:center"
>最多支持20个loadBalancerId</span
>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export class ServerGroupLoadBalancers
<div className="form-control-static text-center">
No load balancers found in the selected account/region/VPC
</div>
) : values.forwardLoadBalancers.length < 5 ? (
) : values.forwardLoadBalancers.length < 20 ? (
<div className="col-md-12">
<table className="table table-condensed packed">
<tbody>
Expand All @@ -429,7 +429,7 @@ export class ServerGroupLoadBalancers
</div>
) : (
<div className="form-control-static text-center">
Up to 5 Load Balancers can be added for a server group
Up to 20 Load Balancers can be added for a server group
</div>
)}
</div>
Expand Down

0 comments on commit 4c7cd9e

Please sign in to comment.