Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

container: Drop unnecessary &mut #647

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/src/container/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lib/src/container/unencapsulate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading