]> git.proxmox.com Git - pve-manager-legacy.git/commit
fix #4053: don't run vzdump jobs when they change from disabled->enabled
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 13 Jun 2022 13:24:09 +0000 (15:24 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 17 Jun 2022 15:21:56 +0000 (17:21 +0200)
commit530b0a71588ec6d6d8d2b9bed6372f5c65662d11
tree72fd6fce8423971b94e2db3ebce8644b7ee8415e
parentca4054315eb3333ab5b5cf33937445d142910a87
fix #4053: don't run vzdump jobs when they change from disabled->enabled

by updating the timestamp in the job state when enabled is changing
from 0 -> 1. We do it this way too in PBS for example, and is the more
sensible behaviour.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/API2/Backup.pm