Skip to content

Commit

Permalink
fix: update observer method name
Browse files Browse the repository at this point in the history
  • Loading branch information
kruskall committed Jun 12, 2024
1 parent 89586e7 commit 8804383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/beater/beatertest/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (nullOutput) Close() error {
func (o nullOutput) Publish(_ context.Context, batch publisher.Batch) error {
events := batch.Events()
o.observer.NewBatch(len(events))
o.observer.Acked(len(events))
o.observer.AckedEvents(len(events))
batch.ACK()
return nil
}

0 comments on commit 8804383

Please sign in to comment.