This commit is contained in:
dayterr
2025-08-07 14:16:39 +03:00
parent 7546634d05
commit e0e788cacc
3677 changed files with 12 additions and 402401 deletions

View File

@@ -115,7 +115,8 @@ func utilityComputeResize(ctx context.Context, d *schema.ResourceData, m interfa
computeId, _ := strconv.ParseUint(d.Id(), 10, 64)
var isStopRequired bool
if d.Get("started").(bool) {
old, new := d.GetChange("cpu")
if d.Get("started").(bool) && (old.(int) > new.(int)) {
isStopRequired = true
}
if isStopRequired {