diff --git a/lib/src/container/store.rs b/lib/src/container/store.rs index 49d2ca65..8a92ad0e 100644 --- a/lib/src/container/store.rs +++ b/lib/src/container/store.rs @@ -705,7 +705,7 @@ impl ImageImporter { .await?; } let (blob, driver) = fetch_layer_decompress( - &mut self.proxy, + &self.proxy, &self.proxy_img, &import.manifest, &layer.layer, diff --git a/lib/src/container/unencapsulate.rs b/lib/src/container/unencapsulate.rs index 55303e95..2f90e159 100644 --- a/lib/src/container/unencapsulate.rs +++ b/lib/src/container/unencapsulate.rs @@ -263,7 +263,7 @@ fn new_async_decompressor( /// A wrapper for [`get_blob`] which fetches a layer and decompresses it. pub(crate) async fn fetch_layer_decompress<'a>( - proxy: &'a mut ImageProxy, + proxy: &'a ImageProxy, img: &OpenedImage, manifest: &oci_image::ImageManifest, layer: &'a oci_image::Descriptor,