Skip to content

Commit

Permalink
Fix bug in stripping events, making debugging work
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Pavlovic <matopavlovic@gmail.com>
  • Loading branch information
matejpavlovic committed Jun 16, 2022
1 parent 8092a5e commit 249b7cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ func Strip(event *eventpb.Event) (*eventpb.Event, *EventList) {

// Create a new event with follow-ups removed.
newEvent := eventpb.Event{
Type: event.Type,
Next: nil,
Type: event.Type,
DestModule: event.DestModule,
Next: nil,
}

// Return new EventList.
Expand Down

0 comments on commit 249b7cd

Please sign in to comment.