Move escape function to util and clarify name
This commit is contained in:
@@ -203,7 +203,7 @@ func (ed *emptyDir) GetPath() string {
|
||||
if ed.legacyMode {
|
||||
name = emptyDirPluginLegacyName
|
||||
}
|
||||
return ed.plugin.host.GetPodVolumeDir(ed.podUID, volume.EscapePluginName(name), ed.volName)
|
||||
return ed.plugin.host.GetPodVolumeDir(ed.podUID, util.EscapeQualifiedNameForDisk(name), ed.volName)
|
||||
}
|
||||
|
||||
// TearDown simply discards everything in the directory.
|
||||
|
Reference in New Issue
Block a user