]> git.proxmox.com Git - proxmox-backup.git/commit - proxmox-backup-client/src/main.rs
client: backup: early check for fixed index type
authorChristian Ebner <c.ebner@proxmox.com>
Thu, 28 Mar 2024 12:36:27 +0000 (13:36 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 4 Apr 2024 08:54:06 +0000 (10:54 +0200)
commitceea2e485f7b4e6d822313191b6151bb91f35bd6
treef87ecfd0423d5c304930523ff5bb91d277f4dcdf
parentfcea0794c8ff0bf8c94dabb8bf2586c03193fb85
client: backup: early check for fixed index type

Early return when the check fails, avoiding constuction of unused
object instances.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
proxmox-backup-client/src/main.rs