Skip to content

Commit 333527a

Browse files
committed
fix(flare): rephrase fxutil comment to pass lint_components, update comp/README.md
1 parent 4ae93af commit 333527a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

comp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Package diagnose provides the diagnose suite for the agent.
144144

145145
*Datadog Team*: agent-configuration
146146

147-
Package flare implements a component to generate flares from the agent.
147+
Package flare defines the flare component interface and its parameters.
148148

149149
### [comp/core/fxinstrumentation](https://pkg.go.dev/github.com/DataDog/datadog-agent/comp/core/fxinstrumentation)
150150

comp/core/flare/impl/impl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ type flareImpl struct {
7575
}
7676

7777
// filterNilProviders removes nil entries from the providers slice.
78-
// fxutil.GetAndFilterGroup cannot be used directly here as impl must not import fxutil.
78+
// GetAndFilterGroup from the fx utility package cannot be used here as impl packages must not import it.
7979
func filterNilProviders(providers []*flaretypes.FlareFiller) []*flaretypes.FlareFiller {
8080
result := make([]*flaretypes.FlareFiller, 0, len(providers))
8181
for _, p := range providers {

0 commit comments

Comments
 (0)