Skip to content

Commit

Permalink
Merge pull request containers#472 from RishabhSaini/configHistory
Browse files Browse the repository at this point in the history
chunking: Deduplicate the config history for each layer
  • Loading branch information
cgwalters authored May 2, 2023
2 parents 4b97dc1 + a74d45f commit d7ac08e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/chunking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ impl Chunking {
0 => unreachable!(),
1 => Cow::Borrowed(first_name),
2..=5 => {
let r = bin.iter().map(|v| &*v.meta.name).fold(
let r = bin.iter().map(|v| &*v.meta.name).skip(1).fold(
String::from(first_name),
|mut acc, v| {
write!(acc, " and {}", v).unwrap();
Expand Down

0 comments on commit d7ac08e

Please sign in to comment.