mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-30 16:59:52 +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
|
// Expose the RulesMap for the notifier
|
||||||
pub fn get_rules_map(&self) -> RulesMap {
|
pub fn get_rules_map(&self) -> &RulesMap {
|
||||||
self.rules.clone()
|
&self.rules
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Sets the region for the configuration
|
/// Sets the region for the configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user