From ab72f2e230cadd11ba940fe5c4dcec1bf40510a4 Mon Sep 17 00:00:00 2001 From: zenground0 Date: Wed, 28 Jun 2023 22:35:28 -0600 Subject: [PATCH] Lint --- cmd/lotus-shed/state-stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-shed/state-stats.go b/cmd/lotus-shed/state-stats.go index 6b898c4d0..865af39ca 100644 --- a/cmd/lotus-shed/state-stats.go +++ b/cmd/lotus-shed/state-stats.go @@ -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)