Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
fix(src/queueproc.rs): rewrite to avoid unimplemented!
Lars Wirzenius committed 1 year ago
commit c493ec4928869bf978c9388157d799e9be3b918a
parent fd845f7e445999b1ef6d101f52ea146894fa577b
1 file changed +2 -5
modified src/queueproc.rs
@@ -372,11 +372,8 @@ impl EventProcessor {
            }
        }

-
        match picked.qe.event().repository() {
-
            Some(repoid) => {
-
                self.processed_tx.send(*repoid).ok();
-
            }
-
            None => unimplemented!(),
+
        if let Some(repoid) = picked.qe.event().repository() {
+
            self.processed_tx.send(*repoid).ok();
        }
    }