mirror of
https://github.com/containerd/containerd.git
synced 2026-07-01 20:28:48 +00:00
Add exported `Wait(ctx context.Context) error` interface that waits on the underlying command (or context cancellation) and returns the error. This fixes a race condition between `.wait()` and `.Err error`: https://github.com/containerd/containerd/issues/6914 Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>