mirror of
https://git.proxmox.com/git/proxmox-backup-qemu
synced 2025-10-04 20:49:26 +00:00
set fingerprint and password on HttpClientOptions
This commit is contained in:
parent
28e0be9f0d
commit
36d22ed6a4
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user