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:
@@ -296,7 +296,7 @@ func addEndpointPodOrFail(c *client.Client, ns, name string, labels map[string]s
|
||||
{
|
||||
Name: "test",
|
||||
Image: "kubernetes/pause",
|
||||
Ports: []api.Port{{ContainerPort: 80}},
|
||||
Ports: []api.ContainerPort{{ContainerPort: 80}},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user