mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
取消创建公有云vpc限制
This commit is contained in:
@@ -344,10 +344,6 @@ func (manager *SVpcManager) ValidateCreateData(ctx context.Context, userCred mcc
|
||||
return nil, httperrors.NewInputParameterError("Invalid cloudregion_id")
|
||||
}
|
||||
if region.isManaged() {
|
||||
if region.GetVpcCount() >= MAX_VPC_PER_REGION {
|
||||
return nil, httperrors.NewNotAcceptableError("Too many vpcs per region")
|
||||
}
|
||||
|
||||
managerStr, _ := data.GetString("manager_id")
|
||||
if len(managerStr) == 0 {
|
||||
managerStr, _ = data.GetString("manager")
|
||||
|
||||
Reference in New Issue
Block a user