fix: cli: show task counts correctly
This commit is contained in:
parent
70dc920f8c
commit
729952eb88
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user