From fd07d0208dd10bc0c62cf0c6d2cc8dfe4b0d7eb9 Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Thu, 18 Nov 2021 15:36:39 -0700 Subject: [PATCH] formatting --- appmgr/src/action/docker.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/appmgr/src/action/docker.rs b/appmgr/src/action/docker.rs index 34ad7351e..daead0636 100644 --- a/appmgr/src/action/docker.rs +++ b/appmgr/src/action/docker.rs @@ -115,10 +115,7 @@ impl DockerAction { .with_kind(crate::ErrorKind::Docker)?; } let res = tokio::select! { - res = handle - .wait_with_output() - => res - .with_kind(crate::ErrorKind::Docker)?, + res = handle.wait_with_output() => res.with_kind(crate::ErrorKind::Docker)?, res = timeout_fut => res?, }; Ok(if res.status.success() || res.status.code() == Some(143) {