Skip to content

Commit

Permalink
Fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimalekseev committed Jul 12, 2023
1 parent 89e385f commit 586b668
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pipeline/batch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ func (b *batcherTail) ReleaseEvents(events []*Event) {
}
}

func (b *batcherTail) Commit(events *Event, backEvents bool) {
b.commit(events)
func (b *batcherTail) Commit(event *Event, backEvents bool) {
b.commit(event)
if backEvents {
b.ReleaseEvents([]*Event{events})
b.ReleaseEvents([]*Event{event})
}
}

Expand Down

0 comments on commit 586b668

Please sign in to comment.