@@ -36,22 +36,22 @@ func parseServerType(str string) (ServerType, bool) {
3636
3737type (
3838 Config struct {
39- Command * Command `yaml:"command" mapstructure:"command"`
40- AuxiliaryCommand * Command `yaml:"auxiliary_command" mapstructure:"auxiliary_command"`
41- Log * Log `yaml:"log" mapstructure:"log"`
42- DataPlaneConfig * DataPlaneConfig `yaml:"data_plane_config" mapstructure:"data_plane_config"`
43- Client * Client `yaml:"client" mapstructure:"client"`
44- Collector * Collector `yaml:"collector" mapstructure:"collector"`
45- Watchers * Watchers `yaml:"watchers" mapstructure:"watchers"`
39+ Command * Command `yaml:"command" mapstructure:"command"`
40+ AuxiliaryCommand * Command `yaml:"auxiliary_command" mapstructure:"auxiliary_command"`
41+ Log * Log `yaml:"log" mapstructure:"log"`
42+ DataPlaneConfig * DataPlaneConfig `yaml:"data_plane_config" mapstructure:"data_plane_config"`
43+ Client * Client `yaml:"client" mapstructure:"client"`
44+ Collector * Collector `yaml:"collector" mapstructure:"collector"`
45+ Watchers * Watchers `yaml:"watchers" mapstructure:"watchers"`
4646 ExternalDataSource * ExternalDataSource `yaml:"external_data_source" mapstructure:"external_data_source"`
47- SyslogServer * SyslogServer `yaml:"syslog_server" mapstructure:"syslog_server"`
48- Labels map [string ]any `yaml:"labels" mapstructure:"labels"`
49- Version string `yaml:"-"`
50- Path string `yaml:"-"`
51- UUID string `yaml:"-"`
52- LibDir string `yaml:"-"`
53- AllowedDirectories []string `yaml:"allowed_directories" mapstructure:"allowed_directories"`
54- Features []string `yaml:"features" mapstructure:"features"`
47+ SyslogServer * SyslogServer `yaml:"syslog_server" mapstructure:"syslog_server"`
48+ Labels map [string ]any `yaml:"labels" mapstructure:"labels"`
49+ Version string `yaml:"-"`
50+ Path string `yaml:"-"`
51+ UUID string `yaml:"-"`
52+ LibDir string `yaml:"-"`
53+ AllowedDirectories []string `yaml:"allowed_directories" mapstructure:"allowed_directories"`
54+ Features []string `yaml:"features" mapstructure:"features"`
5555 }
5656
5757 Log struct {
0 commit comments