summaryrefslogtreecommitdiff
path: root/tools/worker_table.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/worker_table.go')
-rw-r--r--tools/worker_table.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/worker_table.go b/tools/worker_table.go
index 4aeb6ae7..20b8084f 100644
--- a/tools/worker_table.go
+++ b/tools/worker_table.go
@@ -52,8 +52,9 @@ func renderStatus(status string) string {
return status
}
-func renderJobs(number int64) string {
- return humanize.Comma(number)
+func renderJobs(number uint64) string {
+ // TODO overflow
+ return humanize.Comma(int64(number))
}
func renderAlive(t time.Time) string {