Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: format and lint
  • Loading branch information
devbgv committed Oct 21, 2025
commit d69ca180d32ea679d8e10d255e3c086fcbb7ccfe
2 changes: 1 addition & 1 deletion internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ func createConfig() *Config {
LogsGzip: map[string]*LogsGzip{
"default": {},
},
Syslog: map[string]*Syslog{"default": {}},
SecurityViolations: map[string]*SecurityViolations{"default": {}},
},
Receivers: Receivers{
OtlpReceivers: map[string]*OtlpReceiver{
Expand Down
12 changes: 6 additions & 6 deletions internal/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"time"

"google.golang.org/grpc/metadata"

Check failure on line 19 in internal/config/types.go

View workflow job for this annotation

GitHub Actions / Unit tests with race condition detection

github.com/google/[email protected]: reading https://:[email protected]/artifactory/api/go/f5-nginx-go-dev/github.com/google/uuid/@v/v1.6.0.zip: 401

Check failure on line 19 in internal/config/types.go

View workflow job for this annotation

GitHub Actions / Unit Tests

github.com/google/[email protected]: reading https://:[email protected]/artifactory/api/go/f5-nginx-go-dev/github.com/google/uuid/@v/v1.6.0.zip: 401
"github.com/google/uuid"
)

Expand Down Expand Up @@ -172,11 +172,11 @@

// OTel Collector Processors configuration.
Processors struct {
Attribute map[string]*Attribute `yaml:"attribute" mapstructure:"attribute"`
Resource map[string]*Resource `yaml:"resource" mapstructure:"resource"`
Batch map[string]*Batch `yaml:"batch" mapstructure:"batch"`
LogsGzip map[string]*LogsGzip `yaml:"logsgzip" mapstructure:"logsgzip"`
SecurityViolations map[string]*SecurityViolations `yaml:"syslog" mapstructure:"syslog"`
Attribute map[string]*Attribute `yaml:"attribute" mapstructure:"attribute"`
Resource map[string]*Resource `yaml:"resource" mapstructure:"resource"`
Batch map[string]*Batch `yaml:"batch" mapstructure:"batch"`
LogsGzip map[string]*LogsGzip `yaml:"logsgzip" mapstructure:"logsgzip"`
SecurityViolations map[string]*SecurityViolations `yaml:"syslog" mapstructure:"syslog"`
}

Attribute struct {
Expand Down Expand Up @@ -205,7 +205,7 @@
Timeout time.Duration `yaml:"timeout" mapstructure:"timeout"`
}

LogsGzip struct{}
LogsGzip struct{}
SecurityViolations struct{}

// OTel Collector Receiver configuration.
Expand Down
Loading