Use endpoint annotation to recover container ports in e2e tests on Mesos
This commit is contained in:
@@ -348,7 +348,7 @@ var _ = Describe("Kubectl client", func() {
|
||||
endpoints, err := c.Endpoints(ns).Get(name)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
uidToPort := getPortsByPodUID(endpoints.Subsets)
|
||||
uidToPort := getContainerPortsByPodUID(endpoints)
|
||||
if len(uidToPort) == 0 {
|
||||
Logf("No endpoint found, retrying")
|
||||
continue
|
||||
|
Reference in New Issue
Block a user