diff --git a/src/imex/transfer.rs b/src/imex/transfer.rs index ba334ca49..f6f797a53 100644 --- a/src/imex/transfer.rs +++ b/src/imex/transfer.rs @@ -468,7 +468,7 @@ async fn transfer_from_provider( opts, on_connected, |collection| { - context.emit_event(ReceiveProgress::CollectionRecieved.into()); + context.emit_event(ReceiveProgress::CollectionReceived.into()); progress.set_total(collection.total_blobs_size()); async { Ok(()) } }, @@ -579,7 +579,7 @@ fn spawn_progress_proxy(context: Context, mut rx: broadcast::Receiver) { #[derive(Debug)] enum ReceiveProgress { Connected, - CollectionRecieved, + CollectionReceived, /// A value between 0 and 85 interpreted as a percentage. /// /// Other values are already used by the other variants of this enum. @@ -601,7 +601,7 @@ impl From for EventType { fn from(source: ReceiveProgress) -> Self { let val = match source { ReceiveProgress::Connected => 50, - ReceiveProgress::CollectionRecieved => 100, + ReceiveProgress::CollectionReceived => 100, ReceiveProgress::BlobProgress(val) => 100 + 10 * val, ReceiveProgress::Completed => 1000, ReceiveProgress::Failed => 0,