diff --git a/CHANGELOG.md b/CHANGELOG.md index b9cbe92..969b87e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## Version 4.3.5 +## Version 4.3.6 -## Feature -- Added state upgrader for custom_fields field upgrade in kvmvm resource \ No newline at end of file +## Bugfix +- Fixed bug with disks resize error \ No newline at end of file diff --git a/Makefile b/Makefile index 9936cf0..99ba99c 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ ZIPDIR = ./zip BINARY=${NAME} WORKPATH= ./examples/terraform.d/plugins/${HOSTNAME}/${NAMESPACE}/${NAMESPACE}/${VERSION}/${OS_ARCH} MAINPATH = ./cmd/decort/ -VERSION=4.3.5 +VERSION=4.3.6 OS_ARCH=$(shell go env GOHOSTOS)_$(shell go env GOHOSTARCH) FILES = ${BINARY}_${VERSION}_darwin_amd64\ diff --git a/internal/service/cloudapi/disks/resource_disk.go b/internal/service/cloudapi/disks/resource_disk.go index 8545553..6bee010 100644 --- a/internal/service/cloudapi/disks/resource_disk.go +++ b/internal/service/cloudapi/disks/resource_disk.go @@ -271,7 +271,7 @@ func resourceDiskUpdate(ctx context.Context, d *schema.ResourceData, m interface Size: uint64(newSize.(int)), } - _, err := c.CloudAPI().Disks().Resize(ctx, req) + _, err := c.CloudAPI().Disks().Resize2(ctx, req) if err != nil { return diag.FromErr(err) }