From 2a988c33a4e97cf3c9d0f7a723c1ba2fbc0e0de0 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Mon, 27 Nov 2023 13:44:44 +0100 Subject: [PATCH] feat: forgot async_trait Signed-off-by: kjuulh --- crates/cuddle-ci/src/rust_service/cargo_clean.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/cuddle-ci/src/rust_service/cargo_clean.rs b/crates/cuddle-ci/src/rust_service/cargo_clean.rs index ee62689..7b25dd0 100644 --- a/crates/cuddle-ci/src/rust_service/cargo_clean.rs +++ b/crates/cuddle-ci/src/rust_service/cargo_clean.rs @@ -1,3 +1,4 @@ +use async_trait::async_trait; use dagger_sdk::Container; use crate::dagger_middleware::DaggerMiddleware; @@ -12,6 +13,7 @@ impl CargoClean { } } +#[async_trait] impl DaggerMiddleware for CargoClean { async fn handle(&self, container: Container) -> eyre::Result { Ok(container.with_exec(vec!["cargo", "clean"]))