remove volumeoptions from VolumePlugin and BlockVolumePlugin

This commit is contained in:
carlory
2024-05-23 19:21:54 +08:00
parent 57d197fb89
commit c4851c64a0
46 changed files with 112 additions and 147 deletions

View File

@@ -315,7 +315,7 @@ func doTestPlugin(scenario struct {
return allErrs
}
pod := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}}
mounter, err := plug.NewMounter(volume.NewSpecFromVolume(scenario.vol), pod, volume.VolumeOptions{})
mounter, err := plug.NewMounter(volume.NewSpecFromVolume(scenario.vol), pod)
if err != nil {
allErrs = append(allErrs,