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 @@ -312,7 +312,7 @@ async fn upgrade(opts: UpgradeOpts) -> Result<()> {
312
312
}
313
313
}
314
314
} else {
315
- let fetched = crate :: deploy:: pull ( & sysroot, imgref, opts. quiet ) . await ?;
315
+ let fetched = crate :: deploy:: pull ( sysroot, imgref, opts. quiet ) . await ?;
316
316
let staged_digest = staged_image. as_ref ( ) . map ( |s| s. image_digest . as_str ( ) ) ;
317
317
let fetched_digest = fetched. manifest_digest . as_str ( ) ;
318
318
tracing:: debug!( "staged: {staged_digest:?}" ) ;
Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ pub(crate) mod config {
417
417
mergeopt ( & mut self . root_fs_type , other. root_fs_type ) ;
418
418
if let Some ( other_kargs) = other. kargs {
419
419
self . kargs
420
- . get_or_insert_with ( || Default :: default ( ) )
420
+ . get_or_insert_with ( Default :: default)
421
421
. extend ( other_kargs)
422
422
}
423
423
}
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