Skip to content

Commit

Permalink
Update lib/vector-core/src/fanout.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Luke Steensen <luke.steensen@gmail.com>
  • Loading branch information
blt and lukesteensen committed Feb 8, 2022
1 parent 1a45458 commit 34120c0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/vector-core/src/fanout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,8 @@ impl Fanout {
}

while let Some(res) = jobs.next().await {
match res {
Ok(()) => continue,
Err((id, ())) => {
faulty_sinks.push(id);
}
if let Err((id, ())) = res {
faulty_sinks.push(id);
}
}
}
Expand Down

0 comments on commit 34120c0

Please sign in to comment.