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:
@@ -86,7 +86,7 @@ func ServeImageOrFail(c *client.Client, test string, image string) {
|
||||
{
|
||||
Name: name,
|
||||
Image: image,
|
||||
Ports: []api.Port{{ContainerPort: 9376, HostPort: 8080}},
|
||||
Ports: []api.ContainerPort{{ContainerPort: 9376, HostPort: 8080}},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user