mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Initial local PV block device plugin checkin.
Unit tests for block. Add docs/test Fix gofmt issues. Address code review comments. Remove evalsymlink fro setupDevice() Address review comments.
This commit is contained in:
@@ -89,8 +89,8 @@ func (f *fakeVolumeHost) GetPluginDir(podUID string) string {
|
||||
return path.Join(f.rootDir, "plugins", podUID)
|
||||
}
|
||||
|
||||
func (f *fakeVolumeHost) GetVolumeDevicePluginDir(podUID string) string {
|
||||
return path.Join(f.rootDir, "plugins", podUID)
|
||||
func (f *fakeVolumeHost) GetVolumeDevicePluginDir(pluginName string) string {
|
||||
return path.Join(f.rootDir, "plugins", pluginName, "volumeDevices")
|
||||
}
|
||||
|
||||
func (f *fakeVolumeHost) GetPodVolumeDir(podUID types.UID, pluginName, volumeName string) string {
|
||||
|
||||
Reference in New Issue
Block a user