mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-10 12:36:37 +00:00
feat: Add config file validation (#2011)
This commit is contained in:
@@ -33,8 +33,8 @@ import (
|
||||
const Name = "physical_disk"
|
||||
|
||||
type Config struct {
|
||||
DiskInclude *regexp.Regexp `yaml:"disk_include"`
|
||||
DiskExclude *regexp.Regexp `yaml:"disk_exclude"`
|
||||
DiskInclude *regexp.Regexp `yaml:"disk-include"`
|
||||
DiskExclude *regexp.Regexp `yaml:"disk-exclude"`
|
||||
}
|
||||
|
||||
//nolint:gochecknoglobals
|
||||
|
||||
Reference in New Issue
Block a user