Add pluginName to VolumeHost.GetMouter

Different plugins can get different mounter, depending where the mount
utilities are.
This commit is contained in:
Jan Safranek
2017-08-14 12:16:26 +02:00
parent 282404cbc9
commit bc0e170d9c
39 changed files with 86 additions and 86 deletions

View File

@@ -90,7 +90,7 @@ func (f *fakeVolumeHost) GetCloudProvider() cloudprovider.Interface {
return f.cloud
}
func (f *fakeVolumeHost) GetMounter() mount.Interface {
func (f *fakeVolumeHost) GetMounter(pluginName string) mount.Interface {
return f.mounter
}