mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
修复参数赋值问题
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user