fix active state when reading task logs

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-11-25 13:39:43 +01:00
parent 8a93ac9ebe
commit dd286be58d

View File

@ -394,7 +394,7 @@ fn read_task_log(
if test_status {
let active = proxmox_rest_server::worker_is_active(&upid).await?;
json["test-status"] = Value::from(active);
json["active"] = Value::from(active);
}
Ok(Response::builder()