mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-01 08:06:38 +00:00
feat: Add config file validation (#2011)
This commit is contained in:
@@ -46,8 +46,8 @@ var printerStatusMap = map[uint16]string{
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
PrinterInclude *regexp.Regexp `yaml:"printer_include"`
|
||||
PrinterExclude *regexp.Regexp `yaml:"printer_exclude"`
|
||||
PrinterInclude *regexp.Regexp `yaml:"include"`
|
||||
PrinterExclude *regexp.Regexp `yaml:"exclude"`
|
||||
}
|
||||
|
||||
//nolint:gochecknoglobals
|
||||
|
||||
Reference in New Issue
Block a user