Skip to content

Commit 4ee5e78

Browse files
committed
fix(instance): add zone to update volume request
1 parent 35b726a commit 4ee5e78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/namespaces/instance/v1/custom_server_create_builder.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,7 @@ func (vb *VolumeBuilder) ExecutePostCreationSetup(
749749
_, err := apiBlock.UpdateVolume(&block.UpdateVolumeRequest{
750750
VolumeID: volumeID,
751751
PerfIops: vb.IOPS,
752+
Zone: vb.Zone,
752753
},
753754
scw.WithContext(ctx),
754755
)

0 commit comments

Comments
 (0)