From 729952eb88d14277f99dd5eb3872f1e53bc317aa Mon Sep 17 00:00:00 2001 From: Aloxaf Date: Wed, 23 Nov 2022 15:26:53 +0800 Subject: [PATCH] fix: cli: show task counts correctly --- cmd/lotus-miner/sealing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-miner/sealing.go b/cmd/lotus-miner/sealing.go index 34c84772d..4810b9ab9 100644 --- a/cmd/lotus-miner/sealing.go +++ b/cmd/lotus-miner/sealing.go @@ -146,7 +146,7 @@ func workersCmd(sealing bool) *cli.Command { }) var taskStr string for _, t := range tc { - taskStr = t[1] + " " + taskStr += t[1] + " " } if taskStr != "" { fmt.Printf("\tTASK: %s\n", taskStr)