Skip to content

Commit

Permalink
handle warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
somtochiama committed May 21, 2024
1 parent 89ee7d8 commit 75b5f56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/corro-admin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -539,12 +539,12 @@ async fn handle_conn(
if let Err(e) =
util::clear_empty_versions(agent.clone(), actor_id, Some(&tx)).await
{
done_tx.send(Some(format!("{e}")));
done_tx.send(Some(format!("{e}"))).unwrap();
return;
}
}

done_tx.send(None);
done_tx.send(None).unwrap();
});

while let Some(msg) = rx.recv().await {
Expand Down

0 comments on commit 75b5f56

Please sign in to comment.