mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
client/container_create: Rename ContainerName to Name
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
@@ -34,8 +34,8 @@ func (cli *Client) ContainerCreate(ctx context.Context, options ContainerCreateO
|
||||
}
|
||||
}
|
||||
|
||||
if options.ContainerName != "" {
|
||||
query.Set("name", options.ContainerName)
|
||||
if options.Name != "" {
|
||||
query.Set("name", options.Name)
|
||||
}
|
||||
|
||||
body := container.CreateRequest{
|
||||
|
||||
Reference in New Issue
Block a user