fix copy-paste error in comment
Comment seems to be copied from netdev_linux.go, where it is correct.pull/126/head
parent
1ff6c0ce9d
commit
5d6fb852bb
|
@ -43,7 +43,7 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Takes a prometheus registry and returns a new Collector exposing
|
// Takes a prometheus registry and returns a new Collector exposing
|
||||||
// network device stats.
|
// kernel/system statistics.
|
||||||
func NewStatCollector() (Collector, error) {
|
func NewStatCollector() (Collector, error) {
|
||||||
return &statCollector{
|
return &statCollector{
|
||||||
cpu: prometheus.NewCounterVec(
|
cpu: prometheus.NewCounterVec(
|
||||||
|
|
Loading…
Reference in New Issue