Skip to content

Commit

Permalink
fix:修复xds下发限流匹配规则有问题 (#1251)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaojun authored Sep 12, 2023
1 parent e6a9325 commit 01f9cf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apiserver/xdsserverv3/resource/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ func BuildRateLimitDescriptors(rule *traffic_manage.Rule) ([]*route.RateLimit_Ac
actions = append(actions, &route.RateLimit_Action{
ActionSpecifier: &route.RateLimit_Action_HeaderValueMatch_{
HeaderValueMatch: BuildRateLimitActionHeaderValueMatch(":path", &apitraffic.MatchArgument{
Key: ":path",
Value: &apimodel.MatchString{
Type: methodMatchType,
Value: wrapperspb.String(methodName),
Expand Down

0 comments on commit 01f9cf8

Please sign in to comment.