moby/volume
Paweł Gronowski dec81e489f
daemon/disk_usage: Use context aware singleflight
The singleflight function was capturing the context.Context of the first
caller that invoked the `singleflight.Do`. This could cause all
concurrent calls to be cancelled when the first request is cancelled.

singleflight calls were also moved from the ImageService to Daemon, to
avoid having to implement this logic in both graphdriver and containerd
based image services.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2022-11-29 16:46:19 +01:00
..
drivers golangci-lint: update to v1.49.0 2022-09-23 23:31:27 +02:00
local volume: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
mounts volume: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
service daemon/disk_usage: Use context aware singleflight 2022-11-29 16:46:19 +01:00
testutils linting: gosec: fix or suppress G112, G114 in test code 2022-09-04 15:36:51 +02:00
volume.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00