File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ async fn edit(opts: EditOpts) -> Result<()> {
447
447
let ( booted_deployment, _deployments, host) =
448
448
crate :: status:: get_status_require_booted ( sysroot) ?;
449
449
let new_host: Host = if let Some ( filename) = opts. filename {
450
- let mut r = std:: io:: BufReader :: new ( std:: fs:: File :: open ( & filename) ?) ;
450
+ let mut r = std:: io:: BufReader :: new ( std:: fs:: File :: open ( filename) ?) ;
451
451
serde_yaml:: from_reader ( & mut r) ?
452
452
} else {
453
453
let tmpf = tempfile:: NamedTempFile :: new ( ) ?;
Original file line number Diff line number Diff line change @@ -791,7 +791,7 @@ async fn verify_target_fetch(imgref: &ostree_container::OstreeImageReference) ->
791
791
792
792
tracing:: trace!( "Verifying fetch for {imgref}" ) ;
793
793
let mut imp =
794
- ostree_container:: store:: ImageImporter :: new ( & tmprepo, imgref, Default :: default ( ) ) . await ?;
794
+ ostree_container:: store:: ImageImporter :: new ( tmprepo, imgref, Default :: default ( ) ) . await ?;
795
795
use ostree_container:: store:: PrepareResult ;
796
796
let prep = match imp. prepare ( ) . await ? {
797
797
// SAFETY: It's impossible that the image was already fetched into this newly created temporary repository
You can’t perform that action at this time.
0 commit comments