Fix rule match

This commit is contained in:
世界
2024-11-13 10:38:46 +08:00
parent edf40da07c
commit 8cb11bf322

View File

@@ -400,6 +400,7 @@ func (r *Router) matchRule(
match: match:
for currentRuleIndex, currentRule := range r.rules { for currentRuleIndex, currentRule := range r.rules {
metadata.ResetRuleCache()
if !currentRule.Match(metadata) { if !currentRule.Match(metadata) {
continue continue
} }