mirror of https://github.com/k3s-io/k3s
Move TODO from source into an github issue
parent
f04f31f799
commit
4786705f8e
|
@ -1034,7 +1034,6 @@ func getContainerPortsByPodUID(endpoints *api.Endpoints) PortsByPodUID {
|
|||
|
||||
// use endpoint annotations to recover the container port in a Mesos setup
|
||||
// compare contrib/mesos/pkg/service/endpoints_controller.syncService
|
||||
// TODO(sttts): add ContainerPort to EndpointPort struct, defaulting to (host) Port
|
||||
if providerIs("mesos/docker") {
|
||||
key := fmt.Sprintf("k8s.mesosphere.io/containerPort_%s_%s_%d", port.Protocol, addr.IP, hostPort)
|
||||
containerPortString := endpoints.Annotations[key]
|
||||
|
|
Loading…
Reference in New Issue