fix unused compress and encrypt options

Pass compress and encrypt to proxmox_backup_new_ns instead of using
default values. This was an oversight in the initial commit 4446414b.

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
This commit is contained in:
Filip Schauer 2024-05-15 15:24:21 +02:00 committed by Fabian Grünbichler
parent fff4e3c1fc
commit 9f97fb6002

View File

@ -89,8 +89,8 @@ fn create_pbs_backup_task(args: BackupVmaToPbsArgs) -> Result<*mut ProxmoxBackup
keyfile_ptr, keyfile_ptr,
key_password_ptr, key_password_ptr,
master_keyfile_ptr, master_keyfile_ptr,
true, args.compress,
false, args.encrypt,
fingerprint_cstr.as_ptr(), fingerprint_cstr.as_ptr(),
&mut pbs_err, &mut pbs_err,
); );