Remove hostPort from several tests.

This commit is contained in:
Brendan Burns 2015-02-18 16:11:46 -08:00
parent dd912936bc
commit c83c571cc7

View File

@ -167,7 +167,7 @@ var _ = Describe("Pods", func() {
{ {
Name: "nginx", Name: "nginx",
Image: "dockerfile/nginx", Image: "dockerfile/nginx",
Ports: []api.Port{{ContainerPort: 80, HostPort: 8080}}, Ports: []api.Port{{ContainerPort: 80}},
LivenessProbe: &api.Probe{ LivenessProbe: &api.Probe{
Handler: api.Handler{ Handler: api.Handler{
HTTPGet: &api.HTTPGetAction{ HTTPGet: &api.HTTPGetAction{
@ -238,7 +238,7 @@ var _ = Describe("Pods", func() {
{ {
Name: "srv", Name: "srv",
Image: "kubernetes/serve_hostname", Image: "kubernetes/serve_hostname",
Ports: []api.Port{{ContainerPort: 9376, HostPort: 8080}}, Ports: []api.Port{{ContainerPort: 9376}},
}, },
}, },
}, },