[pbs-devel] [PATCH proxmox v5 01/44] notify: expose `config` module

Lukas Wagner l.wagner at proxmox.com
Tue Apr 23 13:51:47 CEST 2024


This is needed because we want to access CONFIG and PRIVATE_CONFIG
from the docgen helper in PBS.

Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
Tested-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 proxmox-notify/src/lib.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/proxmox-notify/src/lib.rs b/proxmox-notify/src/lib.rs
index 292396b..f9917d9 100644
--- a/proxmox-notify/src/lib.rs
+++ b/proxmox-notify/src/lib.rs
@@ -18,14 +18,13 @@ use matcher::{MatcherConfig, MATCHER_TYPENAME};
 
 pub mod api;
 pub mod context;
+pub mod config;
 pub mod endpoints;
 pub mod filter;
 pub mod group;
 pub mod renderer;
 pub mod schema;
 
-mod config;
-
 #[derive(Debug)]
 pub enum Error {
     /// There was an error serializing the config
-- 
2.39.2




More information about the pbs-devel mailing list