golint: Fix comment on exported function NewDevstatCollector.
parent
b73af72853
commit
6720cfdbfe
|
@ -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(
|
||||
|
|
|
@ -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{},
|
||||
|
|
Loading…
Reference in New Issue