diff --git a/collector/cpu_linux.go b/collector/cpu_linux.go index f680871d..afc3a23c 100644 --- a/collector/cpu_linux.go +++ b/collector/cpu_linux.go @@ -167,8 +167,8 @@ func (c *cpuCollector) Update(ch chan<- prometheus.Metric) error { if err := c.updateStat(ch); err != nil { return err } - if err := c.updateIsolated(ch); err != nil { - return err + if c.isolatedCpus != nil { + c.updateIsolated(ch) } return c.updateThermalThrottle(ch) }