From fff03c6c0ca402ca9872be54b2e236f0a0df9016 Mon Sep 17 00:00:00 2001 From: Karsten Weiss Date: Sun, 14 May 2017 13:23:57 +0200 Subject: [PATCH] Fix NewTCPStatCollector doc string. --- collector/tcpstat_linux.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/collector/tcpstat_linux.go b/collector/tcpstat_linux.go index 794fb130..9f665a74 100644 --- a/collector/tcpstat_linux.go +++ b/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(