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:
Kubernetes Submit Queue 2016-09-11 19:02:30 -07:00 committed by GitHub
commit 3414a374de

View File

@ -143,7 +143,7 @@ func (kl *Kubelet) cleanupOrphanedPodDirs(
// If volumes have not been unmounted/detached, do not delete directory.
// Doing so may result in corruption of data.
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
}
// Check whether volume is still mounted on disk. If so, do not delete directory