mirror of
https://github.com/moby/moby.git
synced 2026-07-08 23:57:50 +00:00
Both containerd and graphdriver image service use the same code to create the cache - they only supply their own `cacheAdaptor` struct. Extract the shared code to `cache.New`. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>