From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id C02B01FF38C for ; Thu, 16 May 2024 11:09:55 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 70EE932FAC; Thu, 16 May 2024 11:10:07 +0200 (CEST) Date: Thu, 16 May 2024 11:09:29 +0200 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox Backup Server development discussion References: <20240515132421.156702-1-f.schauer@proxmox.com> In-Reply-To: <20240515132421.156702-1-f.schauer@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1715848251.pq93ovnadn.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.055 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] applied: [PATCH vma-to-pbs] fix unused compress and encrypt options X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" with some follow-ups. On May 15, 2024 3:24 pm, Filip Schauer wrote: > 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 > --- > 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 > > > _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel