Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FlowAggregator] Use correct input channel in flowExportLoopProxy #6990

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/flowaggregator/flowaggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ func (fa *flowAggregator) proxyRecord(record ipfixentities.Record, obsDomainID u
func (fa *flowAggregator) flowExportLoopProxy(stopCh <-chan struct{}) {
logTicker := time.NewTicker(fa.logTickerDuration)
defer logTicker.Stop()
msgCh := fa.collectingProcess.GetMsgChan()
msgCh := fa.preprocessorOutCh

proxyRecords := func(msg *ipfixentities.Message) {
set := msg.GetSet()
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/fixtures.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,7 @@ func setupFlowAggregator(tb testing.TB, testData *TestData, o flowVisibilityTest
return err
}
tb.Logf("ClickHouse Service created with ClusterIP: %v", chSvcIP)
tb.Logf("Applying flow aggregator YAML with ipfix collector: %s and clickHouse enabled",
ipfixCollectorAddr)
tb.Logf("Deploying FlowAggregator with ipfix collector: %s and options: %+v", ipfixCollectorAddr, o)

if err := testData.deployFlowAggregator(ipfixCollectorAddr, o); err != nil {
return err
Expand Down
Loading