mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #112650 from rphillips/fixes/112124
kubelet: increase log level for "Path does not exist" in kubelet_getters
This commit is contained in:
commit
cdbb15c802
@ -303,7 +303,7 @@ func (kl *Kubelet) getPodVolumePathListFromDisk(podUID types.UID) ([]string, err
|
|||||||
if pathExists, pathErr := mount.PathExists(podVolDir); pathErr != nil {
|
if pathExists, pathErr := mount.PathExists(podVolDir); pathErr != nil {
|
||||||
return volumes, fmt.Errorf("error checking if path %q exists: %v", podVolDir, pathErr)
|
return volumes, fmt.Errorf("error checking if path %q exists: %v", podVolDir, pathErr)
|
||||||
} else if !pathExists {
|
} else if !pathExists {
|
||||||
klog.InfoS("Path does not exist", "path", podVolDir)
|
klog.V(6).InfoS("Path does not exist", "path", podVolDir)
|
||||||
return volumes, nil
|
return volumes, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user