From fdc6fad1a0ad7cde0b4ca5b41070838971a9fce0 Mon Sep 17 00:00:00 2001 From: aboitreaud <72934368+aboitreaud@users.noreply.github.com> Date: Fri, 24 Jan 2025 19:08:49 +0100 Subject: [PATCH] Integration config typed any So that it's marshalled as "" empty string instead of "[]" that breaks the log config --- pkg/fleet/installer/setup/common/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/fleet/installer/setup/common/config.go b/pkg/fleet/installer/setup/common/config.go index 0ca52bea47e0ed..68cd4383889630 100644 --- a/pkg/fleet/installer/setup/common/config.go +++ b/pkg/fleet/installer/setup/common/config.go @@ -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"` }