Skip to content

Commit ce84dae

Browse files
Laure-didependabot[bot]scaleway-botjremy42
authored
fix(instance): add zone to update volume request (#4710)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Scaleway Bot <[email protected]> Co-authored-by: Jonathan R. <[email protected]>
1 parent 0757c23 commit ce84dae

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)