mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #90409 from rphillips/fixes/add_logging_around_pod_container_deletor
add logging around pod_container_deletor DeleteContainer
This commit is contained in:
commit
2b00dd8536
@ -48,7 +48,9 @@ func newPodContainerDeletor(runtime kubecontainer.Runtime, containersToKeep int)
|
||||
go wait.Until(func() {
|
||||
for {
|
||||
id := <-buffer
|
||||
runtime.DeleteContainer(id)
|
||||
if err := runtime.DeleteContainer(id); err != nil {
|
||||
klog.Warningf("[pod_container_deletor] DeleteContainer returned error for (id=%v): %v", id, err)
|
||||
}
|
||||
}
|
||||
}, 0, wait.NeverStop)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user