update procfs to v0.0.2 (#1376)

Signed-off-by: Paul Gier <pgier@redhat.com>
This commit is contained in:
Paul Gier 2019-06-12 13:47:16 -05:00 committed by Ben Kochie
commit 2bc133cd48
33 changed files with 167 additions and 172 deletions

View file

@ -80,7 +80,7 @@ func NewCPUFreqCollector() (Collector, error) {
// Update implements Collector and exposes cpu related metrics from /proc/stat and /sys/.../cpu/.
func (c *cpuFreqCollector) Update(ch chan<- prometheus.Metric) error {
cpuFreqs, err := c.fs.NewSystemCpufreq()
cpuFreqs, err := c.fs.SystemCpufreq()
if err != nil {
return err
}