Skip to content

Commit

Permalink
Integration config typed any
Browse files Browse the repository at this point in the history
So that it's marshalled as "" empty string instead of "[]" that breaks the log config
  • Loading branch information
aboitreaud committed Jan 24, 2025
1 parent e3b20ab commit fdc6fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fleet/installer/setup/common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ type DatadogConfigInstallerRegistry struct {

// IntegrationConfig represents the configuration for an integration under conf.d/
type IntegrationConfig struct {
InitConfig []any `yaml:"init_config"`
InitConfig any `yaml:"init_config"`
Instances []any `yaml:"instances,omitempty"`
Logs []IntegrationConfigLogs `yaml:"logs,omitempty"`
}
Expand Down

0 comments on commit fdc6fad

Please sign in to comment.