We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 900990a + b94fdbe commit 993a583Copy full SHA for 993a583
lib/src/container/unencapsulate.rs
@@ -34,6 +34,7 @@
34
use crate::container::store::LayerProgress;
35
36
use super::*;
37
+use anyhow::Context as _;
38
use containers_image_proxy::{ImageProxy, OpenedImage};
39
use fn_error_context::context;
40
use futures_util::{Future, FutureExt, TryFutureExt as _};
@@ -225,7 +226,7 @@ pub(crate) fn decompress_bridge(
225
226
Box::new(flate2::bufread::GzDecoder::new(bufr))
227
};
228
// We don't care about the number of bytes copied
- let _n: u64 = std::io::copy(&mut src, &mut tx)?;
229
+ let _n: u64 = std::io::copy(&mut src, &mut tx).context("Copying for decompression")?;
230
Ok(())
231
})
232
// Flatten the nested Result<Result<>>
0 commit comments