Lint
This commit is contained in:
parent
d2b2fba799
commit
ab72f2e230
@ -944,7 +944,7 @@ func DumpStats(actStats actorStats) {
|
|||||||
func DumpSnapshotStats(stats map[string]api.ObjStat) {
|
func DumpSnapshotStats(stats map[string]api.ObjStat) {
|
||||||
// sort keys so we get subkey locality
|
// sort keys so we get subkey locality
|
||||||
keys := make([]string, 0, len(stats))
|
keys := make([]string, 0, len(stats))
|
||||||
for k, _ := range stats {
|
for k := range stats {
|
||||||
keys = append(keys, k)
|
keys = append(keys, k)
|
||||||
}
|
}
|
||||||
sort.Strings(keys)
|
sort.Strings(keys)
|
||||||
|
Loading…
Reference in New Issue
Block a user