]> git.proxmox.com Git - proxmox-backup.git/commit
api-types: api: datatore: add notification-mode parameter
authorLukas Wagner <l.wagner@proxmox.com>
Tue, 23 Apr 2024 11:52:04 +0000 (13:52 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 21:14:46 +0000 (23:14 +0200)
commit7b668dbc2b513649fd384f0fe3a6165419d068fb
tree8e90217fbde1d09c45a45ca790dad4437471eaed
parent728740d307802768ba0977bfb472131b4b2b797a
api-types: api: datatore: add notification-mode parameter

This one lets the user choose between the old notification behavior
(selecting an email address/user and always/error/never behavior per
datastore) and the new one (emit notification events to the
notification system)

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Gabriel Goller <g.goller@proxmox.com>
Reviewed-by: Gabriel Goller <g.goller@proxmox.com>
Tested-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
pbs-api-types/src/datastore.rs
src/api2/config/datastore.rs