Merge pull request #9708 from Aloxaf/fix_sealing_workers

fix: cli: show task counts correctly
This commit is contained in:
Geoff Stuart 2022-11-23 09:59:12 -05:00 committed by GitHub
commit 1b437c8b90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,7 @@ func workersCmd(sealing bool) *cli.Command {
}) })
var taskStr string var taskStr string
for _, t := range tc { for _, t := range tc {
taskStr = t[1] + " " taskStr += t[1] + " "
} }
if taskStr != "" { if taskStr != "" {
fmt.Printf("\tTASK: %s\n", taskStr) fmt.Printf("\tTASK: %s\n", taskStr)