Skip to content
Snippets Groups Projects
Commit 32f65303 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Report free disk space in grace location summary

Fixes #59
parent e8d025c1
No related branches found
No related tags found
No related merge requests found
......@@ -217,7 +217,8 @@ namespace ATxService
if (string.IsNullOrEmpty(report))
return "";
report += "\nTime since last grace notification: " +
report += $"\n{SystemChecks.CheckFreeDiskSpace(_config.SpaceMonitoring)}" +
"\nTime since last grace notification: " +
$"{TimeUtils.HumanSince(_status.LastGraceNotification)}\n";
if (TimeUtils.MinutesSince(_status.LastGraceNotification) < _config.GraceNotificationDelta)
return report;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment