mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-07 11:06:36 +00:00
feat: Add config file validation (#2011)
This commit is contained in:
@@ -32,8 +32,8 @@ import (
|
||||
const Name = "smtp"
|
||||
|
||||
type Config struct {
|
||||
ServerInclude *regexp.Regexp `yaml:"server_include"`
|
||||
ServerExclude *regexp.Regexp `yaml:"server_exclude"`
|
||||
ServerInclude *regexp.Regexp `yaml:"server-include"`
|
||||
ServerExclude *regexp.Regexp `yaml:"server-exclude"`
|
||||
}
|
||||
|
||||
//nolint:gochecknoglobals
|
||||
|
||||
Reference in New Issue
Block a user