merge fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-09-02 15:22:36 +02:00
parent 1424c7d02e
commit 2b92971fba

View File

@ -937,7 +937,7 @@ async fn restore_do(param: Value) -> Result<Value, Error> {
}
} else if server_archive_name.ends_with(".blob") {
let mut tmpfile = client.download(&server_archive_name, tmpfile).wait()?;
let mut tmpfile = client.download(&server_archive_name, tmpfile).await?;
tmpfile.seek(SeekFrom::Start(0))?;
let mut reader = DataBlobReader::new(tmpfile, crypt_config)?;