Browse Source

Fix NewTCPStatCollector doc string.

pull/583/head
Karsten Weiss 8 years ago
parent
commit
fff03c6c0c
  1. 3
      collector/tcpstat_linux.go

3
collector/tcpstat_linux.go

@ -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…
Cancel
Save