Update crates/notify/src/rules/config.rs
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
committed by
GitHub
co-authored by
Copilot
parent
3817d2d682
commit
de3773fbbc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user