Skip to content

Commit 01f9cf8

Browse files
authored
fix:修复xds下发限流匹配规则有问题 (#1251)
1 parent e6a9325 commit 01f9cf8

File tree

1 file changed

+1
-0
lines changed
  • apiserver/xdsserverv3/resource

1 file changed

+1
-0
lines changed

Diff for: apiserver/xdsserverv3/resource/help.go

+1
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ func BuildRateLimitDescriptors(rule *traffic_manage.Rule) ([]*route.RateLimit_Ac
314314
actions = append(actions, &route.RateLimit_Action{
315315
ActionSpecifier: &route.RateLimit_Action_HeaderValueMatch_{
316316
HeaderValueMatch: BuildRateLimitActionHeaderValueMatch(":path", &apitraffic.MatchArgument{
317+
Key: ":path",
317318
Value: &apimodel.MatchString{
318319
Type: methodMatchType,
319320
Value: wrapperspb.String(methodName),

0 commit comments

Comments
 (0)