mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-31 02:38:07 +08:00
Automatic merge from release/2.7.0 -> release/2.8.0
* commit 'fb73a690365b5d5cedc010ec5849d897dabadb03': 避免腾讯云eip长度超过限制
This commit is contained in:
@@ -257,6 +257,9 @@ func (region *SRegion) AllocateEIP(name string, bwMbps int, chargeType TInternet
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if len(name) > 20 {
|
||||
name = name[:20]
|
||||
}
|
||||
if len(addRessSet) > 0 {
|
||||
params["AddressId"] = addRessSet[0]
|
||||
params["AddressName"] = name
|
||||
|
||||
Reference in New Issue
Block a user