From e9a145c33d78be1f5dbfd071305d829328b664aa Mon Sep 17 00:00:00 2001 From: Dustin Long Date: Thu, 17 Oct 2024 11:08:13 -0400 Subject: [PATCH] Fix fx error by providing optional wrapper for config (#30195) --- comp/otelcol/otlp/integrationtest/integration_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/comp/otelcol/otlp/integrationtest/integration_test.go b/comp/otelcol/otlp/integrationtest/integration_test.go index d80e75f2ad6d7..659025608087a 100644 --- a/comp/otelcol/otlp/integrationtest/integration_test.go +++ b/comp/otelcol/otlp/integrationtest/integration_test.go @@ -103,6 +103,7 @@ func runTestOTelAgent(ctx context.Context, params *subcommands.GlobalParams) err pkgconfigenv.DetectFeatures(c) return c, nil }), + fxutil.ProvideOptional[coreconfig.Component](), fx.Provide(func() []string { return append(params.ConfPaths, params.Sets...) }),