diff options
Diffstat (limited to 'internal/cli')
-rw-r--r-- | internal/cli/workers/render.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/cli/workers/render.go b/internal/cli/workers/render.go index 2d3cc71b..df38ae85 100644 --- a/internal/cli/workers/render.go +++ b/internal/cli/workers/render.go @@ -30,9 +30,9 @@ func WorkerTable(writer io.Writer, workers []*process.State) *tablewriter.Table for i := 0; i < len(workers); i++ { tw.Append([]string{ - strconv.Itoa(workers[i].Pid), - renderStatus(workers[i].Status), - renderJobs(workers[i].NumJobs), + strconv.Itoa(int(workers[i].Pid)), + renderStatus(workers[i].StatusStr), + renderJobs(workers[i].NumExecs), humanize.Bytes(workers[i].MemoryUsage), renderCPU(workers[i].CPUPercent), renderAlive(time.Unix(0, workers[i].Created)), @@ -55,7 +55,7 @@ func ServiceWorkerTable(writer io.Writer, workers []*process.State) *tablewriter for i := 0; i < len(workers); i++ { tw.Append([]string{ - strconv.Itoa(workers[i].Pid), + strconv.Itoa(int(workers[i].Pid)), humanize.Bytes(workers[i].MemoryUsage), renderCPU(workers[i].CPUPercent), workers[i].Command, |