Skip to content

Commit

Permalink
rate_limiting_limits_controller_test: fix rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Apr 11, 2024
1 parent ce6018a commit 8c08d25
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions controllers/rate_limiting_limits_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ var _ = Describe("Rate Limiting limits controller", func() {
ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: testNamespace},
Spec: kuadrantv1beta2.RateLimitPolicySpec{
TargetRef: gatewayapiv1alpha2.PolicyTargetReference{},
Limits: map[string]kuadrantv1beta2.Limit{
"l1": {
Rates: []kuadrantv1beta2.Rate{
{
Limit: 1, Duration: 3, Unit: kuadrantv1beta2.TimeUnit("minute"),
RateLimitPolicyCommonSpec: kuadrantv1beta2.RateLimitPolicyCommonSpec{
Limits: map[string]kuadrantv1beta2.Limit{
"l1": {
Rates: []kuadrantv1beta2.Rate{
{
Limit: 1, Duration: 3, Unit: kuadrantv1beta2.TimeUnit("minute"),
},
},
},
},
Expand Down

0 comments on commit 8c08d25

Please sign in to comment.