public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH vma-to-pbs] fix unused compress and encrypt options
@ 2024-05-15 13:24 Filip Schauer
  2024-05-16  9:09 ` [pbs-devel] applied: " Fabian Grünbichler
  0 siblings, 1 reply; 2+ messages in thread
From: Filip Schauer @ 2024-05-15 13:24 UTC (permalink / raw)
  To: pbs-devel

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>
---
 src/vma2pbs.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/vma2pbs.rs b/src/vma2pbs.rs
index 2e9f199..0d96ace 100644
--- a/src/vma2pbs.rs
+++ b/src/vma2pbs.rs
@@ -89,8 +89,8 @@ fn create_pbs_backup_task(args: BackupVmaToPbsArgs) -> Result<*mut ProxmoxBackup
         keyfile_ptr,
         key_password_ptr,
         master_keyfile_ptr,
-        true,
-        false,
+        args.compress,
+        args.encrypt,
         fingerprint_cstr.as_ptr(),
         &mut pbs_err,
     );
-- 
2.39.2



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-16  9:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-15 13:24 [pbs-devel] [PATCH vma-to-pbs] fix unused compress and encrypt options Filip Schauer
2024-05-16  9:09 ` [pbs-devel] applied: " Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal