(
sysroot: &Storage,
bound_images: Vec<crate::boundimage::BoundImage>,
)
| 162 | |
| 163 | #[context("Pulling bound images")] |
| 164 | pub(crate) async fn pull_images( |
| 165 | sysroot: &Storage, |
| 166 | bound_images: Vec<crate::boundimage::BoundImage>, |
| 167 | ) -> Result<()> { |
| 168 | // Always initialize the img store to ensure labels are set when upgrading |
| 169 | let imgstore = sysroot.get_ensure_imgstore()?; |
| 170 | if bound_images.is_empty() { |
| 171 | return Ok(()); |
| 172 | } |
| 173 | pull_images_impl(imgstore, bound_images).await |
| 174 | } |
| 175 | |
| 176 | #[context("Pulling bound images")] |
| 177 | pub(crate) async fn pull_images_impl( |
no test coverage detected