Skip to content

Commit

Permalink
Now rouding overdue percent value (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
climategadgets committed Nov 1, 2023
1 parent 26adb57 commit bb77eb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void report(ResourceUsageCounter.State<Duration> state) {
return;
}

logger.log(level, "{}: current usage {}%{}", marker, percent, (percent > 100 ? " (OVERDUE)" : ""));
logger.log(level, "{}: current usage {}%{}", marker, (int) percent, (percent > 100 ? " (OVERDUE)" : ""));
lastAlertIssued = now;

} finally {
Expand Down

0 comments on commit bb77eb6

Please sign in to comment.