Rename Service.ContainerPort to TargetPort in v1b3

Fix all callers and examples.  Part of multi-port service cleanup.
This commit is contained in:
Tim Hockin
2015-03-20 13:50:06 -07:00
parent a8f2cee8c5
commit 4375376e9c
28 changed files with 77 additions and 73 deletions

View File

@@ -307,8 +307,8 @@ var _ = Describe("Pods", func() {
},
},
Spec: api.ServiceSpec{
Port: 8765,
ContainerPort: util.NewIntOrStringFromInt(8080),
Port: 8765,
TargetPort: util.NewIntOrStringFromInt(8080),
Selector: map[string]string{
"name": serverName,
},