Skip to content

Commit

Permalink
chore: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
shivanshuraj1333 committed Jan 14, 2025
1 parent 0465509 commit 90814f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/kafkaexporter/kafka_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (e *kafkaTracesProducer) tracesPusher(ctx context.Context, td ptrace.Traces
var allErrors []string

for i, chunk := range messageChunks {
sendErr := e.producer.SendMessages(chunk.msg)
sendErr := e.producer.SendMessages(chunk.Messages)
if sendErr == nil {
continue
}
Expand Down

0 comments on commit 90814f2

Please sign in to comment.