From 0be3a5a0ecff37c827e9b13e71964a019db4aeda Mon Sep 17 00:00:00 2001 From: Adrian Moisey Date: Thu, 21 Nov 2024 07:41:41 +0200 Subject: [PATCH] Fix lint --- test/e2e/framework/framework.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go index a28405155..f8633b3e5 100644 --- a/test/e2e/framework/framework.go +++ b/test/e2e/framework/framework.go @@ -732,7 +732,7 @@ func NewSingleIngressWithMultiplePaths(name string, paths []string, host, ns, se return newSingleIngress(name, ns, annotations, spec) } -func NewSingleIngressWithMultiplePathsOfDifferentTypes(name string, host, ns string, services map[string]networking.PathType, port int, annotations map[string]string) *networking.Ingress { +func NewSingleIngressWithMultiplePathsOfDifferentTypes(name, host, ns string, services map[string]networking.PathType, port int32, annotations map[string]string) *networking.Ingress { spec := networking.IngressSpec{ IngressClassName: GetIngressClassName(ns), Rules: []networking.IngressRule{ @@ -753,7 +753,7 @@ func NewSingleIngressWithMultiplePathsOfDifferentTypes(name string, host, ns str Service: &networking.IngressServiceBackend{ Name: service, Port: networking.ServiceBackendPort{ - Number: int32(port), + Number: port, }, }, },