]> git.proxmox.com Git - proxmox-backup.git/commit
pass worker context to do_create_prune_job
authorStefan Lendl <s.lendl@proxmox.com>
Thu, 23 Nov 2023 16:38:46 +0000 (17:38 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Nov 2023 10:48:02 +0000 (11:48 +0100)
commitb8b980f838b143dbbee39cc5de4337cb31dae60b
treec4470a2b5739a80e8be9ced66553fdcd5dc9fff8
parent3621edbcc40608405c910384436a769d7e560dd2
pass worker context to do_create_prune_job

pass the WorkerTaksContext to do_create_prune_job because we want
logging when calling within a worker context.

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
Tested-by: Gabriel Goller <g.goller@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Lukas Wagner <l.wagner@proxmox.com>
src/api2/config/prune.rs