Skip to content

Commit

Permalink
make lint
Browse files Browse the repository at this point in the history
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling committed Jul 27, 2020
1 parent f81445e commit 40e0c8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion processor/groupbytraceprocessor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,9 @@ func (sp *groupByTraceProcessor) markAsReleased(traceID []byte) error {

func (sp *groupByTraceProcessor) onReleased() {
for item := range sp.released {
rs := item
trace := pdata.NewTraces()
trace.ResourceSpans().Append(&item)
trace.ResourceSpans().Append(&rs)
sp.nextConsumer.ConsumeTraces(context.Background(), trace)
}
}
Expand Down

0 comments on commit 40e0c8e

Please sign in to comment.