1.3.0
This commit is contained in:
@@ -48,6 +48,12 @@ func BServiceGroupResourceCreate(ctx context.Context, plan *models.ResourceRecor
|
||||
req.SEPID = uint64(plan.SEPID.ValueInt64())
|
||||
}
|
||||
|
||||
if plan.Chipset.IsNull() {
|
||||
req.Chipset = "i440fx"
|
||||
} else {
|
||||
req.Chipset = plan.Chipset.ValueString()
|
||||
}
|
||||
|
||||
if !plan.SepPool.IsNull() {
|
||||
req.SEPPool = plan.SepPool.ValueString()
|
||||
}
|
||||
@@ -131,6 +137,12 @@ func BServiceGroupResize(ctx context.Context, plan *models.ResourceRecordGroupMo
|
||||
Mode: plan.Mode.ValueString(),
|
||||
}
|
||||
|
||||
if plan.Chipset.IsNull() {
|
||||
req.Chipset = "i440fx"
|
||||
} else {
|
||||
req.Chipset = plan.Chipset.ValueString()
|
||||
}
|
||||
|
||||
tflog.Info(ctx, "BServiceGroupResize: before calling CloudAPI().BService().GroupResize", map[string]any{"req": req})
|
||||
_, err = c.CloudAPI().BService().GroupResize(ctx, req)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user