set fingerprint and password on HttpClientOptions

This commit is contained in:
Dietmar Maurer 2020-02-19 13:07:26 +01:00
parent 28e0be9f0d
commit 36d22ed6a4

View File

@ -40,7 +40,9 @@ impl ProxmoxRestore {
let result: Result<_, Error> = block_on(async { let result: Result<_, Error> = block_on(async {
let options = HttpClientOptions::new(); let options = HttpClientOptions::new()
.fingerprint(setup.fingerprint.clone())
.password(setup.password.clone());
let client = HttpClient::new(&host, &user, options)?; let client = HttpClient::new(&host, &user, options)?;
let client = BackupReader::start( let client = BackupReader::start(