mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-08 00:55:37 +00:00
remove volumeoptions from VolumePlugin and BlockVolumePlugin
This commit is contained in:
@@ -193,8 +193,7 @@ func doTestPlugin(t *testing.T, config pluginTestConfig) {
|
||||
mounter, err := plug.(*emptyDirPlugin).newMounterInternal(volume.NewSpecFromVolume(spec),
|
||||
pod,
|
||||
physicalMounter,
|
||||
&mountDetector,
|
||||
volume.VolumeOptions{})
|
||||
&mountDetector)
|
||||
if err != nil {
|
||||
t.Errorf("Failed to make a new Mounter: %v", err)
|
||||
}
|
||||
@@ -313,7 +312,7 @@ func TestPluginBackCompat(t *testing.T) {
|
||||
Name: "vol1",
|
||||
}
|
||||
pod := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}}
|
||||
mounter, err := plug.NewMounter(volume.NewSpecFromVolume(spec), pod, volume.VolumeOptions{})
|
||||
mounter, err := plug.NewMounter(volume.NewSpecFromVolume(spec), pod)
|
||||
if err != nil {
|
||||
t.Errorf("Failed to make a new Mounter: %v", err)
|
||||
}
|
||||
@@ -342,7 +341,7 @@ func TestMetrics(t *testing.T) {
|
||||
Name: "vol1",
|
||||
}
|
||||
pod := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}}
|
||||
mounter, err := plug.NewMounter(volume.NewSpecFromVolume(spec), pod, volume.VolumeOptions{})
|
||||
mounter, err := plug.NewMounter(volume.NewSpecFromVolume(spec), pod)
|
||||
if err != nil {
|
||||
t.Errorf("Failed to make a new Mounter: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user