]> git.proxmox.com Git - proxmox-backup.git/commit - proxmox-backup-client/src/main.rs
client: simplify prune api method
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 16 Jul 2021 08:53:20 +0000 (10:53 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 16 Jul 2021 09:34:28 +0000 (11:34 +0200)
commite0665a64bdae9238fef38949daa82989bce40ad7
tree970ac1eb51a2fab42fecbe74093e1d850734579e
parentdc46aa9a0038f6d20f4c9a01138b3620fac1a94c
client: simplify prune api method

by using the api macro on the async method and reusing the PruneOptions
from pbs-datastore with 'flatten: true'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/bin/proxmox-backup-client.rs