(
&self,
sandbox_id: &str,
image_ref: &str,
image_source: &str,
image_identity: &str,
)
| 2496 | } |
| 2497 | |
| 2498 | fn publish_prepared_cache_hit( |
| 2499 | &self, |
| 2500 | sandbox_id: &str, |
| 2501 | image_ref: &str, |
| 2502 | image_source: &str, |
| 2503 | image_identity: &str, |
| 2504 | ) { |
| 2505 | self.publish_vm_progress( |
| 2506 | sandbox_id, |
| 2507 | "CacheHit", |
| 2508 | format!("Using cached prepared VM image disk for \"{image_ref}\""), |
| 2509 | HashMap::from([ |
| 2510 | ("image_ref".to_string(), image_ref.to_string()), |
| 2511 | ("image_source".to_string(), image_source.to_string()), |
| 2512 | ("cache_hit".to_string(), "true".to_string()), |
| 2513 | ("image_identity".to_string(), image_identity.to_string()), |
| 2514 | ]), |
| 2515 | ); |
| 2516 | } |
| 2517 | |
| 2518 | fn publish_prepared_cache_miss( |
| 2519 | &self, |
no test coverage detected