[pbs-devel] applied: [PATCH proxmox-backup v2] fix #4274: implement prune notifications

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Oct 7 15:36:51 CEST 2022


Am 06/10/2022 um 11:08 schrieb Dominik Csapak:
> we converted the prune settings of datastores to prune-jobs, but did
> not actually implement the notifications for them, even though
> we had the notification options in the gui (they did not work).
> 
> implement the basic ok/error notification for prune jobs
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> changes from v1:
> * include 'fix #' in the commit subject
> * call lookup_datastore_notify_settings directly in the send helper
> * fix compilation errors
> * rebase on master
>  pbs-api-types/src/jobs.rs         |  6 +++
>  src/api2/config/datastore.rs      |  1 +
>  src/server/email_notifications.rs | 77 +++++++++++++++++++++++++++++++
>  src/server/prune_job.rs           |  7 ++-
>  www/datastore/OptionView.js       |  2 +-
>  www/window/NotifyOptions.js       |  2 +-
>  6 files changed, 91 insertions(+), 4 deletions(-)
> 
>

applied, thanks!





More information about the pbs-devel mailing list