]> git.proxmox.com Git - proxmox-backup.git/commit - src/api2/admin/datastore.rs
prune: fix workerid issues
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 16 May 2022 09:00:56 +0000 (11:00 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 16 May 2022 16:49:19 +0000 (18:49 +0200)
commit36971618007a1abae29ff6ac652eb3afa27eb622
treef6604fa3ac3f7d0d876ff0707393b2f84c7df8b3
parente13303fca6f576baf99ada9795d43271d32e14f7
prune: fix workerid issues

properly encode the namespace as separate field both for manual prunes
and the job. fix the access checks as well now that the job doesn't use
the jobid as workerid anymore.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/api2/admin/datastore.rs
src/api2/node/tasks.rs
src/server/prune_job.rs