Skip to content

Commit

Permalink
add check for empty output in tap
Browse files Browse the repository at this point in the history
  • Loading branch information
ArunPiduguDD committed Aug 23, 2024
1 parent c86bdcc commit babcc24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/vector-tap/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ impl<'a> TapRunner<'a> {
)
})
.collect();
if output_events.is_empty() {
continue
}

match &self.output_channel {
OutputChannel::Stdout(formatter) => {
Expand Down

0 comments on commit babcc24

Please sign in to comment.