proxmox-rest-server: improve docs
And renames abort_worker_async to abort_worker_nowait (avoid confusion, because the function itself is not async).
This commit is contained in:
@ -374,7 +374,7 @@ fn stop_task(
|
||||
user_info.check_privs(&auth_id, &["system", "tasks"], PRIV_SYS_MODIFY, false)?;
|
||||
}
|
||||
|
||||
proxmox_rest_server::abort_worker_async(upid);
|
||||
proxmox_rest_server::abort_worker_nowait(upid);
|
||||
|
||||
Ok(Value::Null)
|
||||
}
|
||||
|
Reference in New Issue
Block a user