]> git.proxmox.com Git - proxmox-backup.git/commit - src/api2/node/tasks.rs
worker_state: move tasktype() code to src/api2/node/tasks.rs
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 21 Sep 2021 05:58:54 +0000 (07:58 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Sep 2021 06:47:48 +0000 (08:47 +0200)
commitfd18775ac17a5bc9bafc3e5a6be37f1757a77a5b
tree24107cf6de66fe35c176332787ea3f71e1c06a06
parente678a50ea1dd46275bfb4f696a5f84e942dc4890
worker_state: move tasktype() code to src/api2/node/tasks.rs

Because this is API related code, and only used there.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/api2/node/tasks.rs
src/server/worker_task.rs