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

@ -93,6 +93,7 @@ func init() {
Factories["mountstats"] = NewMountStatsCollector
}
// NewMountStatsCollector returns a new Collector exposing NFS statistics.
func NewMountStatsCollector() (Collector, error) {
fs, err := procfs.NewFS(*procPath)
if err != nil {
@ -105,7 +106,7 @@ func NewMountStatsCollector() (Collector, error) {
}
const (
// For the time being, only NFS statistics are available via this mechanism
// For the time being, only NFS statistics are available via this mechanism.
subsystem = "mountstats_nfs"
)