Fix the rest of the code

This commit is contained in:
Clayton Coleman
2016-04-27 00:35:14 -04:00
parent 8d0187add2
commit fdb110c859
129 changed files with 625 additions and 663 deletions

View File

@@ -55,7 +55,7 @@ func podWithID(id, desiredHost string) *api.Pod {
func podWithPort(id, desiredHost string, port int) *api.Pod {
pod := podWithID(id, desiredHost)
pod.Spec.Containers = []api.Container{
{Name: "ctr", Ports: []api.ContainerPort{{HostPort: port}}},
{Name: "ctr", Ports: []api.ContainerPort{{HostPort: int32(port)}}},
}
return pod
}