fix copy-paste error in comment
Comment seems to be copied from netdev_linux.go, where it is correct.
This commit is contained in:
parent
1ff6c0ce9d
commit
5d6fb852bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue