Fix comment on getPodVolumeSubpathListFromDisk

This commit is contained in:
Lorenz Brun 2021-01-31 02:42:54 +01:00
parent 670452cfc5
commit 65c0229247

View File

@ -357,7 +357,7 @@ func (kl *Kubelet) getMountedVolumePathListFromDisk(podUID types.UID) ([]string,
return mountedVolumes, nil
}
// podVolumesSubpathsDirExists returns a list of the volume-subpath paths by reading the
// getPodVolumeSubpathListFromDisk returns a list of the volume-subpath paths by reading the
// subpath directories for the given pod from the disk.
func (kl *Kubelet) getPodVolumeSubpathListFromDisk(podUID types.UID) ([]string, error) {
volumes := []string{}