Skip to content

Commit

Permalink
ref(store/feedback): remove unreachable condition in store_envelope (#…
Browse files Browse the repository at this point in the history
…3682)

I missed this in #3617. This
condition never happens since we handle user report v2's in the
for-match loop

#skip-changelog
  • Loading branch information
aliu39 authored Jun 4, 2024
1 parent 4cf7969 commit 5c5c55e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions relay-server/src/services/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,6 @@ impl StoreService {
KafkaTopic::Attachments
} else if event_item.as_ref().map(|x| x.ty()) == Some(&ItemType::Transaction) {
KafkaTopic::Transactions
} else if event_item.as_ref().map(|x| x.ty()) == Some(&ItemType::UserReportV2) {
if is_rolled_out(
scoping.organization_id,
global_options.feedback_ingest_topic_rollout_rate,
) {
KafkaTopic::Feedback
} else {
KafkaTopic::Events
}
} else {
KafkaTopic::Events
};
Expand Down

0 comments on commit 5c5c55e

Please sign in to comment.