diff --git a/collector/devstat_dragonfly.go b/collector/devstat_dragonfly.go index af1e0ee4..63715b25 100644 --- a/collector/devstat_dragonfly.go +++ b/collector/devstat_dragonfly.go @@ -102,8 +102,7 @@ func init() { Factories["devstat"] = NewDevstatCollector } -// Takes a prometheus registry and returns a new Collector exposing -// Device stats. +// NewDevstatCollector returns a new Collector exposing Device stats. func NewDevstatCollector() (Collector, error) { return &devstatCollector{ bytesDesc: prometheus.NewDesc( diff --git a/collector/devstat_freebsd.go b/collector/devstat_freebsd.go index 9b4760e4..f029d0f1 100644 --- a/collector/devstat_freebsd.go +++ b/collector/devstat_freebsd.go @@ -48,8 +48,7 @@ func init() { Factories["devstat"] = NewDevstatCollector } -// Takes a prometheus registry and returns a new Collector exposing -// Device stats. +// NewDevstatCollector returns a new Collector exposing Device stats. func NewDevstatCollector() (Collector, error) { return &devstatCollector{ devinfo: &C.struct_devinfo{},