examples/upload-speed.rs: fix compile error

This commit is contained in:
Dietmar Maurer 2020-06-26 08:59:51 +02:00
parent fe3e65c3ea
commit 19b5c3c43e

View File

@ -17,7 +17,7 @@ async fn upload_speed() -> Result<usize, Error> {
let backup_time = chrono::Utc::now();
let client = BackupWriter::start(client, datastore, "host", "speedtest", backup_time, false).await?;
let client = BackupWriter::start(client, None, datastore, "host", "speedtest", backup_time, false).await?;
println!("start upload speed test");
let res = client.upload_speedtest().await?;