mirror of
https://github.com/containerd/containerd.git
synced 2026-11-07 05:47:40 +00:00
As reported, running import twice without using the compress import option means that the content store will have existing layers during the second import and the existing code hardcodes existing layer media type to compressed. This fixes the issue by actually reading the header bytes from the store and setting the media type appropriately. Signed-off-by: Phil Estes <estesp@amazon.com>