Rename type Port to ContainerPort

Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
This commit is contained in:
Tim Hockin
2015-02-19 00:32:08 -08:00
parent 362106d8eb
commit e0fd83096c
29 changed files with 77 additions and 77 deletions

View File

@@ -38,7 +38,7 @@ func TestResolvePortString(t *testing.T) {
expected := 80
name := "foo"
container := &api.Container{
Ports: []api.Port{
Ports: []api.ContainerPort{
{Name: name, ContainerPort: expected},
},
}
@@ -55,7 +55,7 @@ func TestResolvePortStringUnknown(t *testing.T) {
expected := 80
name := "foo"
container := &api.Container{
Ports: []api.Port{
Ports: []api.ContainerPort{
{Name: "bar", ContainerPort: expected},
},
}