mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
Merge pull request #32271 from lojies/kubeleterrmodify
Automatic merge from submit-queue err is nil,remove it err is nil here, remove it from code.
This commit is contained in:
commit
3414a374de
@ -143,7 +143,7 @@ func (kl *Kubelet) cleanupOrphanedPodDirs(
|
|||||||
// If volumes have not been unmounted/detached, do not delete directory.
|
// If volumes have not been unmounted/detached, do not delete directory.
|
||||||
// Doing so may result in corruption of data.
|
// Doing so may result in corruption of data.
|
||||||
if podVolumesExist := kl.podVolumesExist(uid); podVolumesExist {
|
if podVolumesExist := kl.podVolumesExist(uid); podVolumesExist {
|
||||||
glog.V(3).Infof("Orphaned pod %q found, but volumes are not cleaned up; err: %v", uid, err)
|
glog.V(3).Infof("Orphaned pod %q found, but volumes are not cleaned up", uid)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// Check whether volume is still mounted on disk. If so, do not delete directory
|
// Check whether volume is still mounted on disk. If so, do not delete directory
|
||||||
|
Loading…
Reference in New Issue
Block a user