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
|
|
@ -64,8 +64,7 @@ func init() {
|
|||
Factories["filesystem"] = NewFilesystemCollector
|
||||
}
|
||||
|
||||
// Takes a prometheus registry and returns a new Collector exposing
|
||||
// Filesystems stats.
|
||||
// NewFilesystemCollector returns a new Collector exposing filesystems stats.
|
||||
func NewFilesystemCollector() (Collector, error) {
|
||||
subsystem := "filesystem"
|
||||
mountPointPattern := regexp.MustCompile(*ignoredMountPoints)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue