Fix lint
This commit is contained in:
parent
cc63aeec41
commit
0be3a5a0ec
1 changed files with 2 additions and 2 deletions
|
@ -732,7 +732,7 @@ func NewSingleIngressWithMultiplePaths(name string, paths []string, host, ns, se
|
||||||
return newSingleIngress(name, ns, annotations, spec)
|
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{
|
spec := networking.IngressSpec{
|
||||||
IngressClassName: GetIngressClassName(ns),
|
IngressClassName: GetIngressClassName(ns),
|
||||||
Rules: []networking.IngressRule{
|
Rules: []networking.IngressRule{
|
||||||
|
@ -753,7 +753,7 @@ func NewSingleIngressWithMultiplePathsOfDifferentTypes(name string, host, ns str
|
||||||
Service: &networking.IngressServiceBackend{
|
Service: &networking.IngressServiceBackend{
|
||||||
Name: service,
|
Name: service,
|
||||||
Port: networking.ServiceBackendPort{
|
Port: networking.ServiceBackendPort{
|
||||||
Number: int32(port),
|
Number: port,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue