fix(#2290): drop redundant async blocks around sync_tmpfiles spawn

This commit is contained in:
atlas 2026-07-09 00:02:57 +02:00 committed by mara
commit ae3ecc1de2
3 changed files with 3 additions and 5 deletions

View file

@ -217,7 +217,7 @@ async fn handle_spawn(coord: &Arc<Coordinator>, name: &str) -> Result<HostRespon
sha: None,
});
// Update tmpfiles.d so the new agent's dirs survive a reboot.
tokio::spawn(async { lifecycle::sync_tmpfiles().await });
tokio::spawn(lifecycle::sync_tmpfiles());
}
Err(e) => {
// Roll back socket registration if container creation failed.