-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enforce hierarchical chart changes ordering (#151)
`groupChangesByChart` was returning a map but we expected the results to be ordered. In particular hierarchical order was preferred. This change turns `groupChangesByChart` into `orderedChangesByChart` by taking the map generated before and passing it to `orderByChartHierarchy` which builds an array of `ChartChanges` and enforces the expected hierarchical order leveraging the chart full path: least deep paths go first, and at the same depth level we order alphabetically. Signed-off-by: Jose Luis Vazquez Gonzalez <josvaz@vmware.com>
- Loading branch information
josvaz
committed
Apr 20, 2022
1 parent
5f429f9
commit c529788
Showing
3 changed files
with
38 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters