Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
randmonkey committed Aug 23, 2023
1 parent 944819b commit 33ee856
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions internal/dataplane/parser/translate_udproute_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ import (
"github.com/kong/kubernetes-ingress-controller/v2/internal/versions"
)

var (
udpRouteTypeMeta = metav1.TypeMeta{Kind: "UDPRoute", APIVersion: gatewayv1alpha2.SchemeGroupVersion.String()}
)
var udpRouteTypeMeta = metav1.TypeMeta{Kind: "UDPRoute", APIVersion: gatewayv1alpha2.SchemeGroupVersion.String()}

func TestIngressRulesFromUDPRoutes(t *testing.T) {
testCases := []struct {
Expand Down
2 changes: 1 addition & 1 deletion test/integration/tcproute_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (

func TestTCPRouteEssentials(t *testing.T) {
ctx := context.Background()
RunWhenKongExpressionRouterWithVersion(t, ">=3.4,0")
RunWhenKongExpressionRouterWithVersion(t, ">=3.4.0")
t.Log("locking TCP port")
tcpMutex.Lock()
t.Cleanup(func() {
Expand Down

0 comments on commit 33ee856

Please sign in to comment.