Update controller.go (#2285)

This commit is contained in:
Sergey Lanzman 2018-04-03 02:16:06 +03:00 committed by Manuel Alejandro de Brito Fontes
parent e7aa74b5d4
commit 83974c32ac

View file

@ -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