Skip to content

Commit d7ac08e

Browse files
authored
Merge pull request bootc-dev#472 from RishabhSaini/configHistory
chunking: Deduplicate the config history for each layer
2 parents 4b97dc1 + a74d45f commit d7ac08e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/chunking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ impl Chunking {
300300
0 => unreachable!(),
301301
1 => Cow::Borrowed(first_name),
302302
2..=5 => {
303-
let r = bin.iter().map(|v| &*v.meta.name).fold(
303+
let r = bin.iter().map(|v| &*v.meta.name).skip(1).fold(
304304
String::from(first_name),
305305
|mut acc, v| {
306306
write!(acc, " and {}", v).unwrap();

0 commit comments

Comments
 (0)