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