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-23 14:25:56 -08:00
parent 0fec31a11e
commit ea548b8260
29 changed files with 78 additions and 78 deletions

View File

@@ -26,7 +26,7 @@ import (
func containerWithHostPorts(ports ...int) api.Container {
c := api.Container{}
for _, p := range ports {
c.Ports = append(c.Ports, api.Port{HostPort: p})
c.Ports = append(c.Ports, api.ContainerPort{HostPort: p})
}
return c
}