hive-c0re: list_descendants reads cached container snapshot instead of live systemctl calls
This commit is contained in:
parent
a72009099a
commit
4835ca8c91
2 changed files with 26 additions and 13 deletions
|
|
@ -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())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue