chore: rm redundant event variant (#9674)

This commit is contained in:
Matthias Seitz
2024-07-20 12:47:01 +02:00
committed by GitHub
parent c8e6e379d9
commit 12182fea37
2 changed files with 0 additions and 3 deletions

View File

@@ -34,8 +34,6 @@ pub enum BackfillAction {
/// The events that can be emitted on backfill sync.
#[derive(Debug)]
pub enum BackfillEvent {
/// Backfill sync idle.
Idle,
/// Backfill sync started.
Started(PipelineTarget),
/// Backfill sync finished.

View File

@@ -81,7 +81,6 @@ where
// try to poll the backfill sync to completion, if active
match this.backfill_sync.poll(cx) {
Poll::Ready(backfill_sync_event) => match backfill_sync_event {
BackfillEvent::Idle => {}
BackfillEvent::Started(_) => {
// notify handler that backfill sync started
this.handler.on_event(FromOrchestrator::BackfillSyncStarted);