feat(#1653): optional name param for bash run tool
This commit is contained in:
parent
0b6a52e81f
commit
9bd51a7440
5 changed files with 119 additions and 8 deletions
|
|
@ -61,8 +61,9 @@ async fn dispatch(req: DaemonRequest) -> DaemonResponse {
|
|||
cmd,
|
||||
timeout_secs,
|
||||
wait_seconds,
|
||||
name,
|
||||
} => {
|
||||
let id = match runner::submit_task(cmd, timeout_secs) {
|
||||
let id = match runner::submit_task(cmd, timeout_secs, name) {
|
||||
Ok(id) => id,
|
||||
Err(e) => return DaemonResponse::error(format!("submit_task: {e:#}")),
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue