hive-c0re: list_descendants reads cached container snapshot instead of live systemctl calls

This commit is contained in:
damocles 2026-08-01 14:54:47 +02:00 committed by mara
commit 4835ca8c91
2 changed files with 26 additions and 13 deletions

View file

@ -574,7 +574,7 @@ async fn dispatch(req: &Request, agent: &str, coord: &Arc<Coordinator>) -> Respo
Request::Restart { name } => handle_restart(coord, agent, name).await,
Request::Kill { name } => handle_kill(coord, agent, name).await,
Request::Update { name } => handle_update(coord, agent, name),
Request::ListDescendants => handle_list_descendants(agent).await,
Request::ListDescendants => handle_list_descendants(coord, agent).await,
Request::RequestInitConfig { name, description } => {
handle_request_init_config(coord, agent, name, description.clone())
}