From 5b91a954886dabf3b4ae13d330ef7359c9f68d26 Mon Sep 17 00:00:00 2001 From: "dongsheng.qi" Date: Wed, 29 Nov 2023 18:21:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B7=AF=E7=94=B1=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/servicerouter/rulebase/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/servicerouter/rulebase/base.go b/plugin/servicerouter/rulebase/base.go index 40afcaa9..5c225a95 100644 --- a/plugin/servicerouter/rulebase/base.go +++ b/plugin/servicerouter/rulebase/base.go @@ -453,7 +453,7 @@ func (g *RuleBasedInstancesFilter) getRuleMetaValueStr(routeInfo *servicerouter. } else { // 如果是参数类型,并且当前是针对 Source 方向的标签匹配,默认直接放通 exist = true - processedRuleMetaValue = matchAll + processedRuleMetaValue = srcMeta[ruleMetaKey] } case apimodel.MatchString_VARIABLE: processedRuleMetaValue, exist = g.getVariable(ruleMetaValue.GetValue().GetValue())