From c6e8c3712a3b5bea057bc02d4b76e19ea0cdb39b Mon Sep 17 00:00:00 2001 From: Patrik Cyvoct Date: Wed, 1 Sep 2021 12:08:25 +0200 Subject: [PATCH] fix resize when volume is not in first zone Signed-off-by: Patrik Cyvoct --- driver/controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/driver/controller.go b/driver/controller.go index 604ebaf..e999a35 100644 --- a/driver/controller.go +++ b/driver/controller.go @@ -807,6 +807,7 @@ func (d *controllerService) ControllerExpandVolume(ctx context.Context, req *csi vol, err := d.scaleway.WaitForVolume(&instance.WaitForVolumeRequest{ VolumeID: volumeID, + Zone: volumeZone, }) if err != nil { return nil, status.Error(codes.Internal, err.Error())