Skip to content

Commit

Permalink
some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
missylbytes committed Aug 18, 2023
1 parent db52cf7 commit 90971e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion control-plane/api/v1alpha1/ingressgateway_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,6 @@ func (in *IngressServiceConfig) validate(path *field.Path) field.ErrorList {
if in.MaxPendingRequests != nil && *in.MaxPendingRequests <= 0 {
errs = append(errs, field.Invalid(path.Child("maxpendingrequests"), *in.MaxPendingRequests, "MaxPendingRequests must be > 0"))
}

return errs
}

Expand Down
2 changes: 1 addition & 1 deletion control-plane/api/v1alpha1/ingressgateway_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
package v1alpha1

import (
"k8s.io/utils/pointer"
"testing"
"time"

Expand All @@ -14,6 +13,7 @@ import (
"github.com/stretchr/testify/require"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/utils/pointer"
)

func TestIngressGateway_MatchesConsul(t *testing.T) {
Expand Down

0 comments on commit 90971e0

Please sign in to comment.