Skip to content

Commit d69ca18

Browse files
committed
fix: format and lint
1 parent 867dba5 commit d69ca18

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

internal/config/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ func createConfig() *Config {
11761176
LogsGzip: map[string]*LogsGzip{
11771177
"default": {},
11781178
},
1179-
Syslog: map[string]*Syslog{"default": {}},
1179+
SecurityViolations: map[string]*SecurityViolations{"default": {}},
11801180
},
11811181
Receivers: Receivers{
11821182
OtlpReceivers: map[string]*OtlpReceiver{

internal/config/types.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,11 @@ type (
172172

173173
// OTel Collector Processors configuration.
174174
Processors struct {
175-
Attribute map[string]*Attribute `yaml:"attribute" mapstructure:"attribute"`
176-
Resource map[string]*Resource `yaml:"resource" mapstructure:"resource"`
177-
Batch map[string]*Batch `yaml:"batch" mapstructure:"batch"`
178-
LogsGzip map[string]*LogsGzip `yaml:"logsgzip" mapstructure:"logsgzip"`
179-
SecurityViolations map[string]*SecurityViolations `yaml:"syslog" mapstructure:"syslog"`
175+
Attribute map[string]*Attribute `yaml:"attribute" mapstructure:"attribute"`
176+
Resource map[string]*Resource `yaml:"resource" mapstructure:"resource"`
177+
Batch map[string]*Batch `yaml:"batch" mapstructure:"batch"`
178+
LogsGzip map[string]*LogsGzip `yaml:"logsgzip" mapstructure:"logsgzip"`
179+
SecurityViolations map[string]*SecurityViolations `yaml:"syslog" mapstructure:"syslog"`
180180
}
181181

182182
Attribute struct {
@@ -205,7 +205,7 @@ type (
205205
Timeout time.Duration `yaml:"timeout" mapstructure:"timeout"`
206206
}
207207

208-
LogsGzip struct{}
208+
LogsGzip struct{}
209209
SecurityViolations struct{}
210210

211211
// OTel Collector Receiver configuration.

0 commit comments

Comments
 (0)