Fix NewTCPStatCollector doc string.

pull/583/head
Karsten Weiss 8 years ago
parent 6720cfdbfe
commit fff03c6c0c

@ -61,8 +61,7 @@ func init() {
Factories["tcpstat"] = NewTCPStatCollector Factories["tcpstat"] = NewTCPStatCollector
} }
// NewTCPStatCollector takes a returns // NewTCPStatCollector returns a new Collector exposing network stats.
// a new Collector exposing network stats.
func NewTCPStatCollector() (Collector, error) { func NewTCPStatCollector() (Collector, error) {
return &tcpStatCollector{ return &tcpStatCollector{
desc: typedDesc{prometheus.NewDesc( desc: typedDesc{prometheus.NewDesc(

Loading…
Cancel
Save