mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-05 01:56:35 +00:00
feat: Add config file validation (#2011)
This commit is contained in:
@@ -41,7 +41,7 @@ import (
|
||||
const Name = "textfile"
|
||||
|
||||
type Config struct {
|
||||
TextFileDirectories []string `yaml:"text_file_directories"`
|
||||
TextFileDirectories []string `yaml:"directories"`
|
||||
}
|
||||
|
||||
//nolint:gochecknoglobals
|
||||
|
||||
Reference in New Issue
Block a user