4.7.6
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user