revert: Bollard update rolled back, closes #66

Using Bollard 0.19.x meant that network stats weren't being recorded correctly. Updated local unhealthy container to use a speed test in order to check for network IO.
This commit is contained in:
Jack Wills
2025-06-19 20:36:54 +00:00
parent c48465f536
commit aac9c6b598
8 changed files with 256 additions and 256 deletions
+1 -7
View File
@@ -881,13 +881,7 @@ impl AppData {
.as_ref()
.map_or(String::new(), std::clone::Clone::clone),
);
let state = State::from((
i.state
.as_ref()
.map_or(&bollard::secret::ContainerSummaryStateEnum::DEAD, |z| z),
&status,
));
let state = State::from((i.state.as_ref().map_or("dead", |z| z), &status));
let image = i
.image
.as_ref()