[pve-devel] [PATCH v2 proxmox-perl-rs 20/52] notify: support 'origin' paramter
Lukas Wagner
l.wagner at proxmox.com
Tue Nov 14 13:59:28 CET 2023
This parameter shows the origin of a config entry (builtin,
user-created, modified-builtin)
Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
common/src/notify.rs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/common/src/notify.rs b/common/src/notify.rs
index a5ab754..8f9f38f 100644
--- a/common/src/notify.rs
+++ b/common/src/notify.rs
@@ -161,6 +161,8 @@ mod export {
author,
comment,
disable,
+ filter: None,
+ origin: None,
},
)
}
@@ -242,6 +244,7 @@ mod export {
comment,
disable,
filter: None,
+ origin: None,
},
&GotifyPrivateConfig { name, token },
)
@@ -334,6 +337,7 @@ mod export {
author,
comment,
disable,
+ origin: None,
},
&SmtpPrivateConfig { name, password },
)
@@ -435,6 +439,7 @@ mod export {
invert_match,
comment,
disable,
+ origin: None,
},
)
}
--
2.39.2
More information about the pve-devel
mailing list