Update crates/notify/src/rules/config.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
houseme
2025-06-23 14:32:28 +08:00
committed by GitHub
parent 3817d2d682
commit de3773fbbc
+2 -2
View File
@@ -97,8 +97,8 @@ impl BucketNotificationConfig {
}
// Expose the RulesMap for the notifier
pub fn get_rules_map(&self) -> RulesMap {
self.rules.clone()
pub fn get_rules_map(&self) -> &RulesMap {
&self.rules
}
/// Sets the region for the configuration