prometheus / procfs

procfs provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc.
Apache License 2.0
755 stars 311 forks source link

Fixup sysfs/system_cpu.go lint errors #638

Closed SuperQ closed 1 month ago

SuperQ commented 1 month ago

Remove unnecessary nil assignment in sysfs/system_cpu.go to fix linter errors.

Followup to https://github.com/prometheus/procfs/pull/627

SuperQ commented 1 month ago

:eyeglasses: @rexagod