fix(#2290): drop redundant async blocks around sync_tmpfiles spawn
This commit is contained in:
parent
949bab62d3
commit
ae3ecc1de2
3 changed files with 3 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue