fix(notify): Fix XML Filter parsing and add comprehensive tests (#2191)

This commit is contained in:
houseme
2026-03-17 23:08:07 +08:00
committed by GitHub
parent ce1f7cfdcb
commit b5d881f399
9 changed files with 1208 additions and 24 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ impl BucketNotificationConfig {
// The ARN in queue_conf should now have its region set if it was originally empty.
// Ensure TargetID can be cloned or extracted correctly.
let target_id = queue_conf.arn.target_id.clone();
let pattern_str = queue_conf.filter.filter_rule_list.pattern();
let pattern_str = queue_conf.filter.pattern();
rules_map.add_rule_config(&queue_conf.events, pattern_str, target_id);
}