mirror of
				https://github.com/edera-dev/krata.git
				synced 2025-11-04 07:39:39 +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