Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
flotter committed Oct 14, 2024
1 parent f683d93 commit 9652ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internals/overlord/planstate/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func (m *PlanManager) appendLayer(newLayer *plan.Layer, inner bool) (*plan.Plan,
newIndex = layersCount
newOrder = ((m.plan.Layers[layersCount-1].Order / 1000) + 1) * 1000
if hasSub {
// The file in the sub-directory needs an order to "001".
// The first file in the sub-directory gets an order of "001".
newOrder += 1
}
}
Expand Down

0 comments on commit 9652ba3

Please sign in to comment.