1
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 12s
Docker Build & Deploy / Deploy to Production (push) Successful in 6s

This commit is contained in:
孙诚
2025-03-10 16:04:25 +08:00
parent 37146ac625
commit 9da65849f5

View File

@@ -30,10 +30,12 @@ public class DiskMonitorRegistry : Registry, IDiskMonitorRegistry
var result = process.StandardOutput.ReadToEnd(); var result = process.StandardOutput.ReadToEnd();
process.WaitForExit(); process.WaitForExit();
Console.WriteLine(FormatResult(result)); var format = FormatResult(result);
Console.WriteLine(format);
WriteToInfluxDB(result); WriteToInfluxDB(format);
} }
private string FormatResult(string result) private string FormatResult(string result)