]> git.proxmox.com Git - proxmox-backup.git/commit
api: admin/datastore: simplify prune api call
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 16 Jul 2021 08:53:21 +0000 (10:53 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 16 Jul 2021 09:34:36 +0000 (11:34 +0200)
commit0a240aaa9ae4ee460aee0207ce530d0b35ce2e07
treea12631848f3662de9c84caa784e7c487146f37a9
parente0665a64bdae9238fef38949daa82989bce40ad7
api: admin/datastore: simplify prune api call

by using the api macro and reusing the PruneOptions from pbs-datastore

this means we can now drop the 'add_common_prune_prameters' macro

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/api2/admin/datastore.rs