job_queue: drop the NodeKind::Dag/root filter from the QueueNodes lookup
This commit is contained in:
parent
10b0f640af
commit
309c1c91c6
4 changed files with 48 additions and 43 deletions
|
|
@ -160,7 +160,9 @@ async fn dispatch(req: &HostRequest, coord: Arc<Coordinator>) -> HostResponse {
|
|||
.collect();
|
||||
HostResponse::dags(dags)
|
||||
}
|
||||
HostRequest::QueueNodes { id } => HostResponse::nodes(coord.job_queue.dag_nodes(*id)),
|
||||
HostRequest::QueueNodes { id } => {
|
||||
HostResponse::nodes(coord.job_queue.node_subtree(*id))
|
||||
}
|
||||
HostRequest::List => HostResponse::list(lifecycle::list().await?),
|
||||
// The agents root is ours and not world-traversable, so this
|
||||
// question is only answerable on this side of the socket —
|
||||
|
|
|
|||
Loading…
Reference in a new issue