Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Bond <danbond@protonmail.com>
  • Loading branch information
loshz authored and thisisnotashwin committed Jun 2, 2023
1 parent c55718d commit 725f45b
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions control-plane/controllers/configentry_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,11 @@ func TestConfigEntryControllers_createsConfigEntry(t *testing.T) {
Namespace: kubeNS,
},
Spec: v1alpha1.ControlPlaneRequestLimitSpec{
Mode: "permissive",
ReadRate: 100.0,
WriteRate: 100.0,
Mode: "permissive",
ReadWriteRatesConfig: v1alpha1.ReadWriteRatesConfig{
ReadRate: 100.0,
WriteRate: 100.0,
},
ACL: &v1alpha1.ReadWriteRatesConfig{
ReadRate: 100.0,
WriteRate: 100.0,
Expand Down Expand Up @@ -1123,9 +1125,11 @@ func TestConfigEntryControllers_updatesConfigEntry(t *testing.T) {
Namespace: kubeNS,
},
Spec: v1alpha1.ControlPlaneRequestLimitSpec{
Mode: "permissive",
ReadRate: 100.0,
WriteRate: 100.0,
Mode: "permissive",
ReadWriteRatesConfig: v1alpha1.ReadWriteRatesConfig{
ReadRate: 100.0,
WriteRate: 100.0,
},
ACL: &v1alpha1.ReadWriteRatesConfig{
ReadRate: 100.0,
WriteRate: 100.0,
Expand Down Expand Up @@ -1673,9 +1677,11 @@ func TestConfigEntryControllers_deletesConfigEntry(t *testing.T) {
Finalizers: []string{FinalizerName},
},
Spec: v1alpha1.ControlPlaneRequestLimitSpec{
Mode: "permissive",
ReadRate: 100.0,
WriteRate: 100.0,
Mode: "permissive",
ReadWriteRatesConfig: v1alpha1.ReadWriteRatesConfig{
ReadRate: 100.0,
WriteRate: 100.0,
},
ACL: &v1alpha1.ReadWriteRatesConfig{
ReadRate: 100.0,
WriteRate: 100.0,
Expand Down

0 comments on commit 725f45b

Please sign in to comment.