mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 16:28:15 +00:00
Update crates/notify/src/rules/config.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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