containerd/images/archive
Phil Estes 4aff7431fe
Fix possibly incorrect media type default on import
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>
2022-01-25 14:11:20 -05:00
..
exporter.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
importer.go Fix possibly incorrect media type default on import 2022-01-25 14:11:20 -05:00
reference.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00