network: auto-retry backend startup

This commit is contained in:
Alex Zenla
2024-02-13 10:03:28 +00:00
parent b2754609c7
commit de0b2c35b1
3 changed files with 49 additions and 16 deletions

View File

@ -178,4 +178,8 @@ impl AutoNetworkCollector {
Ok(AutoNetworkChangeset { added, removed })
}
pub fn mark_unknown(&mut self, uuid: Uuid) -> Result<bool> {
Ok(self.known.remove(&uuid).is_some())
}
}