Skip to content

Commit f646281

Browse files
committed
fix(linstor): typo on resize for linstor raw VDI
fix resize typo for linstor on raw VDI Signed-off-by: Antoine Bartuccio <antoine.bartuccio@vates.tech>
1 parent 5e237a7 commit f646281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/LinstorSR.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1953,7 +1953,7 @@ def resize(self, sr_uuid, vdi_uuid, size) -> str:
19531953

19541954
old_size = self.size
19551955
if self.vdi_type == vhdutil.VDI_TYPE_RAW:
1956-
self._linstor.resize(self.uuid, new_volume_size)
1956+
self._linstor.resize_volume(self.uuid, new_volume_size)
19571957
else:
19581958
if new_volume_size != old_volume_size:
19591959
self.sr._vhdutil.inflate(

0 commit comments

Comments
 (0)