mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-01 03:07:51 +08:00
[FIX] Exclude Linux proc from filesystem type regexp
This commit is contained in:
parent
6f31c04351
commit
ffb6425d46
2
vendor/github.com/prometheus/node_exporter/collector/filesystem_linux.go
generated
vendored
2
vendor/github.com/prometheus/node_exporter/collector/filesystem_linux.go
generated
vendored
@ -26,7 +26,7 @@ import (
|
||||
|
||||
const (
|
||||
defIgnoredMountPoints = "^/(sys|proc|dev)($|/)"
|
||||
defIgnoredFSTypes = "^(sys|proc|auto)fs$"
|
||||
defIgnoredFSTypes = "^(sysfs|autofs|procfs|proc)$"
|
||||
readOnly = 0x1 // ST_RDONLY
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user