This commit is contained in:
zenground0 2023-06-28 22:35:28 -06:00
parent d2b2fba799
commit ab72f2e230

View File

@ -944,7 +944,7 @@ func DumpStats(actStats actorStats) {
func DumpSnapshotStats(stats map[string]api.ObjStat) {
// sort keys so we get subkey locality
keys := make([]string, 0, len(stats))
for k, _ := range stats {
for k := range stats {
keys = append(keys, k)
}
sort.Strings(keys)