mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
With the contianerd 1.0 migration we now have strongly typed errors that we can check for process not found. We also had some bad error checks looking for `ESRCH` which would only be returned from `unix.Kill` and never from containerd even though we were checking containerd responses for it. Fixes some race conditions around process handling and our error checks that could lead to errors that propagate up to the user that should not. Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: e55bead518e4c72cdecf7de2e49db6c477cb58eb Component: engine