Skip to content

Commit

Permalink
Merge pull request #1910 from pubudu538/analytics-new
Browse files Browse the repository at this point in the history
Fix custom rate limit test cases
  • Loading branch information
Krishanx92 authored Dec 14, 2023
2 parents ba14a0d + f984eaa commit 88dad80
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ func (ratelimitReconsiler *RateLimitPolicyReconciler) Reconcile(ctx context.Cont
var customRateLimitPolicy = ratelimitReconsiler.marshelCustomRateLimit(ctx, ratelimitKey, ratelimitPolicy)
ratelimitReconsiler.ods.AddorUpdateCustomRatelimitToStore(ratelimitKey, customRateLimitPolicy)
xds.UpdateRateLimitXDSCacheForCustomPolicies(customRateLimitPolicy)
xds.UpdateRateLimiterPolicies(conf.CommonController.Server.Label)
} else {

if resolveRatelimitPolicyList, err := ratelimitReconsiler.marshelRateLimit(ctx, ratelimitKey, ratelimitPolicy); err != nil {
Expand Down

0 comments on commit 88dad80

Please sign in to comment.