Merge pull request #2589 from greatroar/no-stable-sort
Replace sort.Stable by sort.Strings
This commit is contained in:
commit
95da6c1c1d
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ func (arch *Archiver) SaveTree(ctx context.Context, snPath string, atree *Tree,
|
|||
for name := range atree.Nodes {
|
||||
names = append(names, name)
|
||||
}
|
||||
sort.Stable(sort.StringSlice(names))
|
||||
sort.Strings(names)
|
||||
|
||||
for _, name := range names {
|
||||
subatree := atree.Nodes[name]
|
||||
|
|
Loading…
Reference in a new issue