mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-24 21:24:30 -08:00
Fix NewTCPStatCollector doc string.
This commit is contained in:
parent
6720cfdbfe
commit
fff03c6c0c
|
@ -61,8 +61,7 @@ func init() {
|
|||
Factories["tcpstat"] = NewTCPStatCollector
|
||||
}
|
||||
|
||||
// NewTCPStatCollector takes a returns
|
||||
// a new Collector exposing network stats.
|
||||
// NewTCPStatCollector returns a new Collector exposing network stats.
|
||||
func NewTCPStatCollector() (Collector, error) {
|
||||
return &tcpStatCollector{
|
||||
desc: typedDesc{prometheus.NewDesc(
|
||||
|
|
Loading…
Reference in a new issue