From de3773fbbc5abc324e9b4898c0329c35390f8be4 Mon Sep 17 00:00:00 2001 From: houseme Date: Mon, 23 Jun 2025 14:32:28 +0800 Subject: [PATCH] Update crates/notify/src/rules/config.rs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- crates/notify/src/rules/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/notify/src/rules/config.rs b/crates/notify/src/rules/config.rs index 23161cea0..11b684af8 100644 --- a/crates/notify/src/rules/config.rs +++ b/crates/notify/src/rules/config.rs @@ -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