Skip to content

Commit 56acb4f

Browse files
authored
Merge pull request #244 from xiaoxubeii/fix-cinder-resize
Fix that fail to resize pvc of cinder volume.
2 parents 6bbceec + 5defee0 commit 56acb4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cloudprovider/providers/openstack/openstack_volumes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ func (volumes *VolumesV3) getVolume(volumeID string) (Volume, error) {
242242
ID: volumeV3.ID,
243243
Name: volumeV3.Name,
244244
Status: volumeV3.Status,
245+
Size: volumeV3.Size,
245246
}
246247

247248
if len(volumeV3.Attachments) > 0 {

0 commit comments

Comments
 (0)