File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ async fn transfer_from_provider(
468
468
opts,
469
469
on_connected,
470
470
|collection| {
471
- context. emit_event ( ReceiveProgress :: CollectionRecieved . into ( ) ) ;
471
+ context. emit_event ( ReceiveProgress :: CollectionReceived . into ( ) ) ;
472
472
progress. set_total ( collection. total_blobs_size ( ) ) ;
473
473
async { Ok ( ( ) ) }
474
474
} ,
@@ -579,7 +579,7 @@ fn spawn_progress_proxy(context: Context, mut rx: broadcast::Receiver<u16>) {
579
579
#[ derive( Debug ) ]
580
580
enum ReceiveProgress {
581
581
Connected ,
582
- CollectionRecieved ,
582
+ CollectionReceived ,
583
583
/// A value between 0 and 85 interpreted as a percentage.
584
584
///
585
585
/// Other values are already used by the other variants of this enum.
@@ -601,7 +601,7 @@ impl From<ReceiveProgress> for EventType {
601
601
fn from ( source : ReceiveProgress ) -> Self {
602
602
let val = match source {
603
603
ReceiveProgress :: Connected => 50 ,
604
- ReceiveProgress :: CollectionRecieved => 100 ,
604
+ ReceiveProgress :: CollectionReceived => 100 ,
605
605
ReceiveProgress :: BlobProgress ( val) => 100 + 10 * val,
606
606
ReceiveProgress :: Completed => 1000 ,
607
607
ReceiveProgress :: Failed => 0 ,
You can’t perform that action at this time.
0 commit comments