examples: fix HttpClient::new usage

This commit is contained in:
Dietmar Maurer 2020-09-30 09:57:25 +02:00
parent e64b9f9204
commit b19b4bfcb0
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ async fn run() -> Result<(), Error> {
.interactive(true)
.ticket_cache(true);
let client = HttpClient::new(host, username, options)?;
let client = HttpClient::new(host, 8007, username, options)?;
let backup_time = proxmox::tools::time::parse_rfc3339("2019-06-28T10:49:48Z")?;

View File

@ -14,7 +14,7 @@ async fn upload_speed() -> Result<f64, Error> {
.interactive(true)
.ticket_cache(true);
let client = HttpClient::new(host, username, options)?;
let client = HttpClient::new(host, 8007, username, options)?;
let backup_time = proxmox::tools::time::epoch_i64();