Fix rule match

This commit is contained in:
世界 2024-11-13 10:38:46 +08:00
parent edf40da07c
commit 8cb11bf322
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

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
} }