@@ -549,7 +549,7 @@ async fn upgrade(opts: UpgradeOpts) -> Result<()> {
549549 }
550550 }
551551 } else {
552- let fetched = crate :: deploy:: pull ( repo, imgref, opts. quiet ) . await ?;
552+ let fetched = crate :: deploy:: pull ( repo, imgref, None , opts. quiet ) . await ?;
553553 let staged_digest = staged_image. as_ref ( ) . map ( |s| s. image_digest . as_str ( ) ) ;
554554 let fetched_digest = fetched. manifest_digest . as_str ( ) ;
555555 tracing:: debug!( "staged: {staged_digest:?}" ) ;
@@ -642,7 +642,7 @@ async fn switch(opts: SwitchOpts) -> Result<()> {
642642 }
643643 let new_spec = RequiredHostSpec :: from_spec ( & new_spec) ?;
644644
645- let fetched = crate :: deploy:: pull ( repo, & target, opts. quiet ) . await ?;
645+ let fetched = crate :: deploy:: pull ( repo, & target, None , opts. quiet ) . await ?;
646646
647647 if !opts. retain {
648648 // By default, we prune the previous ostree ref so it will go away after later upgrades
@@ -700,7 +700,7 @@ async fn edit(opts: EditOpts) -> Result<()> {
700700 return crate :: deploy:: rollback ( sysroot) . await ;
701701 }
702702
703- let fetched = crate :: deploy:: pull ( repo, new_spec. image , opts. quiet ) . await ?;
703+ let fetched = crate :: deploy:: pull ( repo, new_spec. image , None , opts. quiet ) . await ?;
704704
705705 // TODO gc old layers here
706706
0 commit comments