FIX: ingress was not creating the endpoint when target port is string

This commit is contained in:
Giancarlo Rubio 2017-01-10 11:48:25 +01:00
parent b0028a4b15
commit 26c3ed1984

View file

@ -975,7 +975,7 @@ func (ic *GenericController) getEndpoints(
port, err := service.GetPortMapping(servicePort.StrVal, s) port, err := service.GetPortMapping(servicePort.StrVal, s)
if err == nil { if err == nil {
targetPort = port targetPort = port
continue break
} }
glog.Warningf("error mapping service port: %v", err) glog.Warningf("error mapping service port: %v", err)