Files
moby/distribution/utils
Sebastiaan van Stijn 6b5f14a7bb distribution/utils: WriteDistributionProgress simplify check for broken pipe
The isBrokenPipe utility was added in 3d86b0c79b
to unwrap the error returned to detect if it was a broken pipe error.
`net.OpError` now implements Unwrap(), so we can simplify this check
using `errors.Is`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-01-18 16:20:49 +01:00
..