mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Copy the implementation of `context.WithoutCancel` introduced in Go 1.21 to be able to use it when building with older versions. This will use the stdlib directly when building with Go 1.21+. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>