Fix typo, match fd0, not fdd0

pull/45/head
Stephen Shirley 10 years ago
parent 72404d9ed1
commit 686a0c768c

@ -22,7 +22,7 @@ const (
)
var (
ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop|(fd|h|s|v|xv)d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.")
ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop|(f|h|s|v|xv)d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.")
)
type diskstatsCollector struct {

Loading…
Cancel
Save