Merge pull request #121 from gianrubio/targetport-string
FIX: ingress was not creating the endpoint when target port is string
This commit is contained in:
commit
1cebef2dbf
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue