Skip to content

Commit

Permalink
golint: Fix comment on exported function NewDevstatCollector.
Browse files Browse the repository at this point in the history
  • Loading branch information
knweiss committed May 14, 2017
1 parent b73af72 commit 6720cfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions collector/devstat_dragonfly.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
3 changes: 1 addition & 2 deletions collector/devstat_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
Expand Down

0 comments on commit 6720cfd

Please sign in to comment.