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:
@@ -60,7 +60,7 @@ func Create(ctx context.Context, t *testing.T, apiClient client.APIClient, ops .
|
||||
HostConfig: config.HostConfig,
|
||||
NetworkingConfig: config.NetworkingConfig,
|
||||
Platform: config.Platform,
|
||||
ContainerName: config.Name,
|
||||
Name: config.Name,
|
||||
})
|
||||
assert.NilError(t, err)
|
||||
|
||||
@@ -79,7 +79,7 @@ func CreateFromConfig(ctx context.Context, apiClient client.APIClient, config *T
|
||||
HostConfig: config.HostConfig,
|
||||
NetworkingConfig: config.NetworkingConfig,
|
||||
Platform: config.Platform,
|
||||
ContainerName: config.Name,
|
||||
Name: config.Name,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user