mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Move TODO from source into an github issue
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user