Fix comment on getPodVolumeSubpathListFromDisk
This commit is contained in:
@@ -357,7 +357,7 @@ func (kl *Kubelet) getMountedVolumePathListFromDisk(podUID types.UID) ([]string,
|
|||||||
return mountedVolumes, nil
|
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.
|
// subpath directories for the given pod from the disk.
|
||||||
func (kl *Kubelet) getPodVolumeSubpathListFromDisk(podUID types.UID) ([]string, error) {
|
func (kl *Kubelet) getPodVolumeSubpathListFromDisk(podUID types.UID) ([]string, error) {
|
||||||
volumes := []string{}
|
volumes := []string{}
|
||||||
|
Reference in New Issue
Block a user