Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
This should fix the error being displayed in issue kepler155c#55
  • Loading branch information
EmmaKnijn committed Jun 21, 2022
1 parent 1d2187b commit bb8cb64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion milo/plugins/jobMonitor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ local function createPage(node)
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 '') ..
string.format(' %d of %d', row.crafted + row.total, row.total + row.requested)
row.total = row.total or 0
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 bb8cb64

Please sign in to comment.