Merge pull request #1092 from ioito/hotfix/qx-code-fix

修复参数赋值问题
This commit is contained in:
yunion-ci-robot
2019-06-06 23:23:50 +08:00
committed by GitHub
+1 -1
View File
@@ -374,7 +374,7 @@ func (lb *SLoadbalancer) GetCreateLoadbalancerParams(iRegion cloudprovider.IClou
params.ZoneID = iZone.GetId()
}
if lb.ChargeType == api.LB_CHARGE_TYPE_BY_BANDWIDTH {
lb.EgressMbps = lb.EgressMbps
params.EgressMbps = lb.EgressMbps
}
if lb.AddressType == api.LB_ADDR_TYPE_INTRANET {
vpc := lb.GetVpc()