[pbs-devel] [PATCH proxmox-backup 02/33] server: rename email_notifications module to notifications

Lukas Wagner l.wagner at proxmox.com
Fri Apr 12 12:06:00 CEST 2024


The module will be extended to interact with the proxmox_notify crate,
hence the name change seems to be in order.

Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
 src/server/mod.rs                                       | 4 ++--
 src/server/{email_notifications.rs => notifications.rs} | 0
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename src/server/{email_notifications.rs => notifications.rs} (100%)

diff --git a/src/server/mod.rs b/src/server/mod.rs
index 4e3b68ac..d2cbc931 100644
--- a/src/server/mod.rs
+++ b/src/server/mod.rs
@@ -25,8 +25,8 @@ pub use gc_job::*;
 mod realm_sync_job;
 pub use realm_sync_job::*;
 
-mod email_notifications;
-pub use email_notifications::*;
+pub mod notifications;
+pub use notifications::*;
 
 mod report;
 pub use report::*;
diff --git a/src/server/email_notifications.rs b/src/server/notifications.rs
similarity index 100%
rename from src/server/email_notifications.rs
rename to src/server/notifications.rs
-- 
2.39.2





More information about the pbs-devel mailing list