Update controller.go (#2285)
This commit is contained in:
parent
e7aa74b5d4
commit
83974c32ac
1 changed files with 1 additions and 1 deletions
|
@ -1090,7 +1090,7 @@ func (n *NGINXController) getEndpoints(
|
||||||
|
|
||||||
// ExternalName services
|
// ExternalName services
|
||||||
if s.Spec.Type == apiv1.ServiceTypeExternalName {
|
if s.Spec.Type == apiv1.ServiceTypeExternalName {
|
||||||
glog.V(3).Info("Ingress using a service %v of type=ExternalName : %v", s.Name)
|
glog.V(3).Infof("Ingress using a service %v of type=ExternalName : %v", s.Name)
|
||||||
|
|
||||||
targetPort := servicePort.TargetPort.IntValue()
|
targetPort := servicePort.TargetPort.IntValue()
|
||||||
// check for invalid port value
|
// check for invalid port value
|
||||||
|
|
Loading…
Reference in a new issue