mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Merge pull request #74330 from xichengliudui/fixshellcheck190221
Fixed a minor bug
This commit is contained in:
commit
54240ce5ba
@ -752,7 +752,7 @@ func (j *IngressTestJig) GetIngressNodePorts(includeDefaultBackend bool) []strin
|
|||||||
return nodePorts
|
return nodePorts
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetIngressNodePorts returns related backend services' svcPorts.
|
// GetServicePorts returns related backend services' svcPorts.
|
||||||
// Current GCE ingress controller allows traffic to the default HTTP backend
|
// Current GCE ingress controller allows traffic to the default HTTP backend
|
||||||
// by default, so retrieve its nodePort if includeDefaultBackend is true.
|
// by default, so retrieve its nodePort if includeDefaultBackend is true.
|
||||||
func (j *IngressTestJig) GetServicePorts(includeDefaultBackend bool) map[string]v1.ServicePort {
|
func (j *IngressTestJig) GetServicePorts(includeDefaultBackend bool) map[string]v1.ServicePort {
|
||||||
|
Loading…
Reference in New Issue
Block a user