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

@@ -73,7 +73,7 @@ func TestSetDefaulPodSpec(t *testing.T) {
func TestSetDefaultContainer(t *testing.T) {
bp := &current.BoundPod{}
bp.Spec.Containers = []current.Container{{}}
bp.Spec.Containers[0].Ports = []current.Port{{}}
bp.Spec.Containers[0].Ports = []current.ContainerPort{{}}
obj2 := roundTrip(t, runtime.Object(bp))
bp2 := obj2.(*current.BoundPod)