Merge pull request #74330 from xichengliudui/fixshellcheck190221

Fixed a minor bug
This commit is contained in:
Kubernetes Prow Robot 2019-02-20 23:57:28 -08:00 committed by GitHub
commit 54240ce5ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -752,7 +752,7 @@ func (j *IngressTestJig) GetIngressNodePorts(includeDefaultBackend bool) []strin
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
// by default, so retrieve its nodePort if includeDefaultBackend is true.
func (j *IngressTestJig) GetServicePorts(includeDefaultBackend bool) map[string]v1.ServicePort {