Skip to content

Commit

Permalink
builder: fix lost blob meta for stargz build
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Song <[email protected]>
  • Loading branch information
imeoer committed Jun 18, 2022
1 parent 824d407 commit d063ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/nydus-image/core/blob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl Blob {

pub(crate) fn dump_meta_data(ctx: &BuildContext, blob_ctx: &mut BlobContext) -> Result<()> {
// Dump is only required if there is chunk in the blob or blob meta info enabled
if !blob_ctx.blob_meta_info_enabled || blob_ctx.compressed_blob_size == 0 {
if !blob_ctx.blob_meta_info_enabled || blob_ctx.decompressed_blob_size == 0 {
return Ok(());
}

Expand Down

0 comments on commit d063ecb

Please sign in to comment.