Skip to content

Commit

Permalink
Merge pull request #647 from cgwalters/fetch-cleanups
Browse files Browse the repository at this point in the history
container: Drop unnecessary &mut
  • Loading branch information
cgwalters committed Jul 2, 2024
2 parents b26af32 + e66b381 commit dc5faad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit dc5faad

Please sign in to comment.