mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
update comment
This commit is contained in:
parent
685d639cb5
commit
6e0832a5aa
@ -135,7 +135,7 @@ func getVolumesFromPodDir(podDir string) ([]podVolume, error) {
|
|||||||
podDir := filepath.Join(podDir, podName)
|
podDir := filepath.Join(podDir, podName)
|
||||||
|
|
||||||
// Find filesystem volume information
|
// Find filesystem volume information
|
||||||
// ex. filesystem volume: /pods/{podUid}/volume/{escapeQualifiedPluginName}/{volumeName}
|
// ex. filesystem volume: /pods/{podUid}/volumes/{escapeQualifiedPluginName}/{volumeName}
|
||||||
volumesDirs := map[v1.PersistentVolumeMode]string{
|
volumesDirs := map[v1.PersistentVolumeMode]string{
|
||||||
v1.PersistentVolumeFilesystem: filepath.Join(podDir, config.DefaultKubeletVolumesDirName),
|
v1.PersistentVolumeFilesystem: filepath.Join(podDir, config.DefaultKubeletVolumesDirName),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user