Skip to content

Commit

Permalink
fix jobMonitor.lua (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kan18 authored Jul 17, 2022
1 parent b3052fe commit cba2f70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions milo/plugins/jobMonitor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cba2f70

Please sign in to comment.