File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ async fn upgrade(opts: UpgradeOpts) -> Result<()> {
304
304
}
305
305
}
306
306
} else {
307
- let fetched = crate :: deploy:: pull ( & sysroot, imgref, opts. quiet ) . await ?;
307
+ let fetched = crate :: deploy:: pull ( sysroot, imgref, opts. quiet ) . await ?;
308
308
let staged_digest = staged_image. as_ref ( ) . map ( |s| s. image_digest . as_str ( ) ) ;
309
309
let fetched_digest = fetched. manifest_digest . as_str ( ) ;
310
310
tracing:: debug!( "staged: {staged_digest:?}" ) ;
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ pub(crate) mod config {
404
404
mergeopt ( & mut self . root_fs_type , other. root_fs_type ) ;
405
405
if let Some ( other_kargs) = other. kargs {
406
406
self . kargs
407
- . get_or_insert_with ( || Default :: default ( ) )
407
+ . get_or_insert_with ( Default :: default)
408
408
. extend ( other_kargs)
409
409
}
410
410
}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ pub(crate) struct Findmnt {
25
25
#[ context( "Inspecting filesystem {path}" ) ]
26
26
pub ( crate ) fn inspect_filesystem ( path : & Utf8Path ) -> Result < Filesystem > {
27
27
let desc = format ! ( "Inspecting {path}" ) ;
28
- let o = Task :: new ( & desc, "findmnt" )
28
+ let o = Task :: new ( desc, "findmnt" )
29
29
. args ( [
30
30
"-J" ,
31
31
"-v" ,
You can’t perform that action at this time.
0 commit comments