hypha: use manifest digest as part of key in image cache

This commit is contained in:
Alex Zenla committed 2024-01-22 07:24:42 -08:00
1 parent 3085a3738f
commit 04092c1d3b
3 files changed
+19 -9

No files matched your search

+2 -1
View File
@@ -195,7 +195,8 @@ impl XenClient {
let mut count: u32 = 0;
loop {
if count >= 100 {
return Err(XenClientError::new("unable to destroy device"));
warn!("unable to safely destroy backend: {}", backend);
break;
}
let state = self.store.read_string(&state_path)?;
let state = i64::from_str(&state).unwrap_or(-1);