mirror of
https://github.com/containerd/containerd.git
synced 2026-08-09 09:33:06 +00:00
Right now the statement is treating any error from the shim as leaking (len(pInfo == 0 is true for any error). It seems the intent was to only treat shims this way if the error was not found, or if there's legitimately no pids associated with the shim. Let's fix that up to avoid orphaning shims that just had a small error in reading pids. Link: https://github.com/containerd/containerd/issues/13784 Signed-off-by: Andrew Halaney <ahalaney@netflix.com>