style: cargo fmt crash_recovery.rs
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
9c39243969
commit
c1d309f21f
@ -487,9 +487,12 @@ pub async fn recover_containers(containers: &[RunningContainerRecord]) -> Recove
|
||||
/// All container names podman knows about (running or not). `None` if the
|
||||
/// query fails — callers fail open and attempt every snapshot entry.
|
||||
async fn existing_container_names() -> Option<std::collections::HashSet<String>> {
|
||||
let output = podman_output(&["ps", "-a", "--format", "{{.Names}}"], Duration::from_secs(30))
|
||||
.await
|
||||
.ok()?;
|
||||
let output = podman_output(
|
||||
&["ps", "-a", "--format", "{{.Names}}"],
|
||||
Duration::from_secs(30),
|
||||
)
|
||||
.await
|
||||
.ok()?;
|
||||
if !output.status.success() {
|
||||
return None;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user