]> git.proxmox.com Git - proxmox-backup.git/commit
verify: factor out common parameters
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 25 Jan 2021 13:42:58 +0000 (14:42 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 26 Jan 2021 08:54:49 +0000 (09:54 +0100)
commit9c26a3d61aaefb40f24079e5d902684aba30e735
tree47278a35e3697bbec4b2c38abb552646bd099005
parent93e3581ce7f72aa3b29729715db3bf77d57eebbe
verify: factor out common parameters

all the verify methods pass along the following:
- task worker
- datastore
- corrupt and verified chunks

might as well pull that out into a common type, with the added bonus of
now having a single point for construction instead of copying the
default capacaties in three different modules..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/api2/admin/datastore.rs
src/api2/backup/environment.rs
src/backup/verify.rs
src/server/verify_job.rs