1
This commit is contained in:
@@ -30,10 +30,12 @@ public class DiskMonitorRegistry : Registry, IDiskMonitorRegistry
|
||||
var result = process.StandardOutput.ReadToEnd();
|
||||
process.WaitForExit();
|
||||
|
||||
Console.WriteLine(FormatResult(result));
|
||||
var format = FormatResult(result);
|
||||
|
||||
Console.WriteLine(format);
|
||||
|
||||
|
||||
WriteToInfluxDB(result);
|
||||
WriteToInfluxDB(format);
|
||||
}
|
||||
|
||||
private string FormatResult(string result)
|
||||
|
||||
Reference in New Issue
Block a user