mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-20 11:22:19 +08:00
create private sku fix
This commit is contained in:
@@ -339,6 +339,7 @@ func (self *SServerSkuManager) ValidateCreateData(ctx context.Context,
|
||||
if !exists {
|
||||
return nil, httperrors.NewInputParameterError("instance_type_category %s is invalid", category)
|
||||
}
|
||||
data.Add(jsonutils.NewString(category),"local_category")
|
||||
|
||||
data.Set("instance_type_family", jsonutils.NewString(family))
|
||||
// 格式 ecs.g1.c1m1
|
||||
|
||||
Reference in New Issue
Block a user