mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 17:59:28 +08:00
rm *sensors.Warnings conversion - gopsutil windows uses different type
This commit is contained in:
@@ -177,7 +177,6 @@ func (a *Agent) getSystemStats() system.Stats {
|
||||
} else {
|
||||
temps, err := sensors.TemperaturesWithContext(a.sensorsContext)
|
||||
if err != nil {
|
||||
err.(*sensors.Warnings).Verbose = true
|
||||
slog.Debug("Sensor error", "err", err)
|
||||
}
|
||||
slog.Debug("Temperature", "sensors", temps)
|
||||
|
Reference in New Issue
Block a user