Update cpu.go (#65)

fix typo
This commit is contained in:
有张纸 2017-03-23 00:33:05 +08:00 committed by Calle Pettersson
parent 53048a42fd
commit 0616dd6690

View File

@ -57,7 +57,7 @@ func NewCPUCollector() (Collector, error) {
// to the provided prometheus Metric channel.
func (c *CPUCollector) Collect(ch chan<- prometheus.Metric) error {
if desc, err := c.collect(ch); err != nil {
log.Println("[ERROR] failed collecting os metrics:", desc, err)
log.Println("[ERROR] failed collecting cpu metrics:", desc, err)
return err
}
return nil