mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Fix Getpath() description
Modify the description of the word error
This commit is contained in:
parent
1bc56825a2
commit
e018887501
@ -260,7 +260,7 @@ func (cephfsVolume *cephfsUnmounter) TearDownAt(dir string) error {
|
|||||||
return util.UnmountPath(dir, cephfsVolume.mounter)
|
return util.UnmountPath(dir, cephfsVolume.mounter)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GatePath creates global mount path
|
// GetPath creates global mount path
|
||||||
func (cephfsVolume *cephfs) GetPath() string {
|
func (cephfsVolume *cephfs) GetPath() string {
|
||||||
name := cephfsPluginName
|
name := cephfsPluginName
|
||||||
return cephfsVolume.plugin.host.GetPodVolumeDir(cephfsVolume.podUID, utilstrings.EscapeQualifiedNameForDisk(name), cephfsVolume.volName)
|
return cephfsVolume.plugin.host.GetPodVolumeDir(cephfsVolume.podUID, utilstrings.EscapeQualifiedNameForDisk(name), cephfsVolume.volName)
|
||||||
|
Loading…
Reference in New Issue
Block a user