From cba2f7013fec4be05731e74f750489d343e8e802 Mon Sep 17 00:00:00 2001 From: Kan18 <24967425+Kan18@users.noreply.github.com> Date: Sun, 17 Jul 2022 19:44:54 -0400 Subject: [PATCH] fix jobMonitor.lua (#61) --- milo/plugins/jobMonitor.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/milo/plugins/jobMonitor.lua b/milo/plugins/jobMonitor.lua index d24d1642..58c52d18 100644 --- a/milo/plugins/jobMonitor.lua +++ b/milo/plugins/jobMonitor.lua @@ -156,9 +156,9 @@ local function createPage(node) if row.requested then row.remaining = math.max(0, row.requested - row.crafted) --_syslog('%d %d %d %d', row.remaining, row.requested, row.total, row.crafted) - row.status = (row.status or '') .. row.total = row.total or 0 - string.format(' %d of %d', row.crafted + row.total, row.total + row.requested) + row.status = (row.status or '') .. + string.format(' %d of %d', row.crafted + row.total, row.total + row.requested) else row.displayName = ' ' .. row.displayName row.status = (row.status or '') .. string.format(' %d of %d', row.count, row.total)