mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 13:11:31 +00:00
krata: fix support for oci-archive style tars in image seeding
This commit is contained in:
@ -156,7 +156,12 @@ impl OciImageDownloader {
|
||||
continue;
|
||||
};
|
||||
|
||||
let Some(image_name) = annotations.get("io.containerd.image.name") else {
|
||||
let mut image_name = annotations.get("io.containerd.image.name");
|
||||
if image_name.is_none() {
|
||||
image_name = annotations.get("org.opencontainers.image.ref.name");
|
||||
}
|
||||
|
||||
let Some(image_name) = image_name else {
|
||||
continue;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user