Fix NewTCPStatCollector doc string.

This commit is contained in:
Karsten Weiss 2017-05-14 13:23:57 +02:00
parent 6720cfdbfe
commit fff03c6c0c

View File

@ -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(