File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1043,12 +1043,12 @@ fn try_update_from_dist_(
1043
1043
}
1044
1044
}
1045
1045
} ;
1046
- let result = manifestation. update_v1 (
1046
+ let result = utils :: run_future ( manifestation. update_v1 (
1047
1047
& manifest,
1048
1048
update_hash,
1049
1049
download. tmp_cx ,
1050
1050
& download. notify_handler ,
1051
- ) ;
1051
+ ) ) ;
1052
1052
// inspect, determine what context to add, then process afterwards.
1053
1053
let mut download_not_exists = false ;
1054
1054
match & result {
Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ impl Manifestation {
378
378
}
379
379
380
380
/// Installation using the legacy v1 manifest format
381
- pub ( crate ) fn update_v1 (
381
+ pub ( crate ) async fn update_v1 (
382
382
& self ,
383
383
new_manifest : & [ String ] ,
384
384
update_hash : Option < & Path > ,
@@ -421,7 +421,9 @@ impl Manifestation {
421
421
notify_handler,
422
422
} ;
423
423
424
- let dl = utils:: run_future ( dlcfg. download_and_check ( & url, update_hash, ".tar.gz" ) ) ?;
424
+ let dl = dlcfg
425
+ . download_and_check ( & url, update_hash, ".tar.gz" )
426
+ . await ?;
425
427
if dl. is_none ( ) {
426
428
return Ok ( None ) ;
427
429
} ;
You can’t perform that action at this time.
0 commit comments