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
|
|
@ -969,7 +969,7 @@ pub async fn destroy(coord: &Arc<Coordinator>, name: &str, purge: bool) -> Resul
|
|||
coord.emit_schedules_snapshot();
|
||||
// Update tmpfiles.d to remove the destroyed agent's dirs from the
|
||||
// boot-time pre-creation list. Best-effort: failure is logged only.
|
||||
tokio::spawn(async { lifecycle::sync_tmpfiles().await });
|
||||
tokio::spawn(lifecycle::sync_tmpfiles());
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue