[pbs-devel] [PATCH proxmox v4 01/43] notify: expose `config` module

Lukas Wagner l.wagner at proxmox.com
Mon Apr 22 14:37:59 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>
---
 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