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