containerd/diff
Hamza El-Saawy ad8b87ba23 Add Wait to binaryProcessor
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>
2022-05-09 17:15:00 -04:00
..
apply feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
lcow feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
walking feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
windows feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
diff.go diff: hide types.Any from clients 2022-04-21 13:43:20 +00:00
stream_unix.go Add Wait to binaryProcessor 2022-05-09 17:15:00 -04:00
stream_windows.go Add Wait to binaryProcessor 2022-05-09 17:15:00 -04:00
stream.go diff: hide types.Any from clients 2022-04-21 13:43:20 +00:00