tape: proxmox-tape inventory: call API

This commit is contained in:
Dietmar Maurer
2021-01-29 11:21:57 +01:00
parent 5243df4712
commit e68269fcaf
5 changed files with 27 additions and 31 deletions

View File

@ -96,9 +96,9 @@ async fn task_log(param: Value) -> Result<Value, Error> {
let repo = extract_repository_from_value(&param)?;
let upid = tools::required_string_param(&param, "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)
}