mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-06-15 13:57:06 +00:00
fix active state when reading task logs
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
8a93ac9ebe
commit
dd286be58d
@ -394,7 +394,7 @@ fn read_task_log(
|
|||||||
|
|
||||||
if test_status {
|
if test_status {
|
||||||
let active = proxmox_rest_server::worker_is_active(&upid).await?;
|
let active = proxmox_rest_server::worker_is_active(&upid).await?;
|
||||||
json["test-status"] = Value::from(active);
|
json["active"] = Value::from(active);
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(Response::builder()
|
Ok(Response::builder()
|
||||||
|
Loading…
Reference in New Issue
Block a user