golint: Fix comment on exported function NewDevstatCollector.
This commit is contained in:
parent
b73af72853
commit
6720cfdbfe
2 changed files with 2 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue