fix: cli: show task counts correctly

This commit is contained in:
Aloxaf 2022-11-23 15:26:53 +08:00
parent 70dc920f8c
commit 729952eb88

View File

@ -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)