mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Fix kio sorting for files with more than 9 Resources
This commit is contained in:
@@ -136,7 +136,7 @@ func SortNodes(nodes []*yaml.RNode) error {
|
||||
return false
|
||||
}
|
||||
if iIndex != jIndex {
|
||||
return iValue < jValue
|
||||
return iIndex < jIndex
|
||||
}
|
||||
|
||||
// elements are equal
|
||||
|
||||
Reference in New Issue
Block a user