Fix all open go lint and vet issues

This commit is contained in:
Tobias Schmidt 2017-02-28 12:44:53 -04:00
commit c703435790
37 changed files with 136 additions and 129 deletions

View file

@ -47,8 +47,7 @@ func init() {
Factories["diskstats"] = NewDiskstatsCollector
}
// Takes a prometheus registry and returns a new Collector exposing
// disk device stats.
// NewDiskstatsCollector returns a new Collector exposing disk device stats.
func NewDiskstatsCollector() (Collector, error) {
var diskLabelNames = []string{"device"}