feat: forgot async_trait
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-11-27 13:44:44 +01:00
parent 015cb6b23a
commit 2a988c33a4
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -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<Container> {
Ok(container.with_exec(vec!["cargo", "clean"]))