Fix error about missing volumeSpec for expansion during mount

This commit is contained in:
Hemant Kumar
2024-07-16 12:07:46 -04:00
parent 099cb71a53
commit b3db0ba04c
2 changed files with 3 additions and 4 deletions

View File

@@ -375,9 +375,8 @@ func TestExpandDuringMount(t *testing.T) {
actualSize = pvc.Status.Capacity.Storage()
}
pluginResizeOpts := volume.NodeResizeOptions{
VolumeSpec: vmt.VolumeSpec,
NewSize: *desiredSize,
OldSize: *actualSize,
NewSize: *desiredSize,
OldSize: *actualSize,
}
asow := newFakeActualStateOfWorld()