We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
allComponents
1 parent a480917 commit 9cb74c6Copy full SHA for 9cb74c6
internal/discovery/phase_graph.go
@@ -149,8 +149,10 @@ func (p *GraphPhase) runGraphDiscovery(
149
return
150
}
151
152
- allComponents := input.Components
153
- allComponents = append(allComponents, resultsToComponents(input.Candidates)...)
+ candidateComponents := resultsToComponents(input.Candidates)
+ allComponents := make([]component.Component, 0, len(input.Components)+len(candidateComponents))
154
+ allComponents = append(allComponents, input.Components...)
155
+ allComponents = append(allComponents, candidateComponents...)
156
threadSafeComponents := component.NewThreadSafeComponents(allComponents)
157
158
graphTargetCandidates := make([]DiscoveryResult, 0, len(input.Candidates))
0 commit comments