diff --git a/crates/runc/src/lib.rs b/crates/runc/src/lib.rs index ccae60e..23518d1 100644 --- a/crates/runc/src/lib.rs +++ b/crates/runc/src/lib.rs @@ -560,7 +560,7 @@ impl Runc { } /// Return the state of a container - pub async fn state(&self, id: &str) -> Result> { + pub async fn state(&self, id: &str) -> Result { let args = vec!["state".to_string(), id.to_string()]; let res = self.launch(self.command(&args)?, true).await?; serde_json::from_str(&res.output).map_err(Error::JsonDeserializationFailed)