diff options
author | Valery Piashchynski <[email protected]> | 2021-01-25 14:50:21 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-25 14:50:21 +0300 |
commit | bb9e34db0f96295c5c2104262f43a3ab0edbc060 (patch) | |
tree | a9b0b99a36b796fdeaac130c9330de10aa4d5c0e /tools/worker_table.go | |
parent | 709f7223fca5e60793ad9b3192f92a554854d6ee (diff) |
Add new Supervisor test in the http plugin
Uniform supervisor config keys to use same notation as pool (10s, 10h
not just 10)
Diffstat (limited to 'tools/worker_table.go')
-rw-r--r-- | tools/worker_table.go | 5 |
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 { |