Fix typo in comment about flattening diff layers

This commit is contained in:
Maximilian Hubert 2026-02-08 16:59:17 +01:00 committed by GitHub
parent 777265620d
commit 03ac1f05aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -375,7 +375,7 @@ func (dl *diffLayer) flatten() snapshot {
if !ok {
return dl
}
// Parent is a diff, flatten it first (note, apart from weird corned cases,
// Parent is a diff, flatten it first (note, apart from weird corner cases,
// flatten will realistically only ever merge 1 layer, so there's no need to
// be smarter about grouping flattens together).
parent = parent.flatten().(*diffLayer)