Skip to content

Commit 0be3a5a

Browse files
committed
Fix lint
1 parent cc63aee commit 0be3a5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/framework/framework.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ func NewSingleIngressWithMultiplePaths(name string, paths []string, host, ns, se
732732
return newSingleIngress(name, ns, annotations, spec)
733733
}
734734

735-
func NewSingleIngressWithMultiplePathsOfDifferentTypes(name string, host, ns string, services map[string]networking.PathType, port int, annotations map[string]string) *networking.Ingress {
735+
func NewSingleIngressWithMultiplePathsOfDifferentTypes(name, host, ns string, services map[string]networking.PathType, port int32, annotations map[string]string) *networking.Ingress {
736736
spec := networking.IngressSpec{
737737
IngressClassName: GetIngressClassName(ns),
738738
Rules: []networking.IngressRule{
@@ -753,7 +753,7 @@ func NewSingleIngressWithMultiplePathsOfDifferentTypes(name string, host, ns str
753753
Service: &networking.IngressServiceBackend{
754754
Name: service,
755755
Port: networking.ServiceBackendPort{
756-
Number: int32(port),
756+
Number: port,
757757
},
758758
},
759759
},

0 commit comments

Comments
 (0)