tape: proxmox-tape inventory: call API
This commit is contained in:
@ -96,9 +96,9 @@ async fn task_log(param: Value) -> Result<Value, Error> {
|
||||
let repo = extract_repository_from_value(¶m)?;
|
||||
let upid = tools::required_string_param(¶m, "upid")?;
|
||||
|
||||
let client = connect(&repo)?;
|
||||
let mut client = connect(&repo)?;
|
||||
|
||||
display_task_log(client, upid, true).await?;
|
||||
display_task_log(&mut client, upid, true).await?;
|
||||
|
||||
Ok(Value::Null)
|
||||
}
|
||||
|
Reference in New Issue
Block a user