Skip to content

Commit

Permalink
Fix fx error by providing optional wrapper for config (#30195)
Browse files Browse the repository at this point in the history
  • Loading branch information
dustmop authored Oct 17, 2024
1 parent 33d480e commit e9a145c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions comp/otelcol/otlp/integrationtest/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
}),
Expand Down

0 comments on commit e9a145c

Please sign in to comment.