aboutsummaryrefslogtreecommitdiff
path: root/collector/hwmon_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'collector/hwmon_linux.go')
-rw-r--r--collector/hwmon_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/collector/hwmon_linux.go b/collector/hwmon_linux.go
index 31dbd22..5649942 100644
--- a/collector/hwmon_linux.go
+++ b/collector/hwmon_linux.go
@@ -426,7 +426,7 @@ func (c *hwMonCollector) Update(ch chan<- prometheus.Metric) error {
426 if err != nil { 426 if err != nil {
427 if os.IsNotExist(err) { 427 if os.IsNotExist(err) {
428 level.Debug(c.logger).Log("msg", "hwmon collector metrics are not available for this system") 428 level.Debug(c.logger).Log("msg", "hwmon collector metrics are not available for this system")
429 return nil 429 return ErrNoData
430 } 430 }
431 431
432 return err 432 return err