diff options
author | Harmen <harm@dds.nl> | 2015-09-29 20:52:33 +0200 |
---|---|---|
committer | Harmen <harm@dds.nl> | 2015-09-29 20:52:33 +0200 |
commit | 5d6fb852bb94050c603450d0a0ce8b275618e02d (patch) | |
tree | 9dd7c6f91d7f6b3acbbd957ff56bb328ff1d6867 /collector/stat_linux.go | |
parent | 1ff6c0ce9db4f545c7343d26a0eca40fa11a05f0 (diff) | |
download | prometheus_node_collector-5d6fb852bb94050c603450d0a0ce8b275618e02d.tar.bz2 prometheus_node_collector-5d6fb852bb94050c603450d0a0ce8b275618e02d.tar.xz prometheus_node_collector-5d6fb852bb94050c603450d0a0ce8b275618e02d.zip |
fix copy-paste error in comment
Comment seems to be copied from netdev_linux.go, where it is correct.
Diffstat (limited to 'collector/stat_linux.go')
-rw-r--r-- | collector/stat_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collector/stat_linux.go b/collector/stat_linux.go index 0882910..ca9dfab 100644 --- a/collector/stat_linux.go +++ b/collector/stat_linux.go | |||
@@ -43,7 +43,7 @@ func init() { | |||
43 | } | 43 | } |
44 | 44 | ||
45 | // Takes a prometheus registry and returns a new Collector exposing | 45 | // Takes a prometheus registry and returns a new Collector exposing |
46 | // network device stats. | 46 | // kernel/system statistics. |
47 | func NewStatCollector() (Collector, error) { | 47 | func NewStatCollector() (Collector, error) { |
48 | return &statCollector{ | 48 | return &statCollector{ |
49 | cpu: prometheus.NewCounterVec( | 49 | cpu: prometheus.NewCounterVec( |