Fix all open go lint and vet issues
This commit is contained in:
parent
5289ffb270
commit
c703435790
37 changed files with 136 additions and 129 deletions
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue