mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
dont fail cleaning stopped containers
This commit is contained in:
parent
da6c6d754b
commit
ef86840e77
1 changed files with 2 additions and 4 deletions
|
|
@ -563,11 +563,9 @@ impl Cloud {
|
|||
|
||||
pub async fn destroy(self, docker: &Docker) -> Result<()> {
|
||||
for container in self.containers {
|
||||
docker
|
||||
let _ = docker
|
||||
.kill_container(container.trim_start_matches('/'), None)
|
||||
.await
|
||||
.into_diagnostic()
|
||||
.wrap_err("Failed to kill container")?;
|
||||
.await;
|
||||
docker
|
||||
.remove_container(
|
||||
container.trim_start_matches('/'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue