mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-07 02:56:35 +00:00
feat: Add config file validation (#2011)
This commit is contained in:
@@ -36,8 +36,8 @@ import (
|
||||
const Name = "scheduled_task"
|
||||
|
||||
type Config struct {
|
||||
TaskExclude *regexp.Regexp `yaml:"task_exclude"`
|
||||
TaskInclude *regexp.Regexp `yaml:"task_include"`
|
||||
TaskExclude *regexp.Regexp `yaml:"exclude"`
|
||||
TaskInclude *regexp.Regexp `yaml:"include"`
|
||||
}
|
||||
|
||||
//nolint:gochecknoglobals
|
||||
|
||||
Reference in New Issue
Block a user