Fix typos, and initialisms from comments in #217

This commit is contained in:
Sharif Nassar 2016-05-13 13:38:14 -07:00
commit bf88b6ee0f
3 changed files with 10 additions and 10 deletions

View file

@ -26,7 +26,7 @@ import (
const (
defIgnoredMountPoints = "^/(sys|proc|dev)($|/)"
defIgnoredFsTypes = "^(sys|proc)fs$"
defIgnoredFSTypes = "^(sys|proc)fs$"
ST_RDONLY = 0x1
)
@ -48,7 +48,7 @@ func (c *filesystemCollector) GetStats() (stats []filesystemStats, err error) {
log.Debugf("Ignoring mount point: %s", mpd.mountPoint)
continue
}
if c.ignoredFsTypesPatter.MatchString(mpd.fsType) {
if c.ignoredFSTypesPattern.MatchString(mpd.fsType) {
log.Debugf("Ignoring fs type: %s", mpd.fsType)
continue
}