From e7e083770259c805cc58b059ac2988e855c6559e Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Fri, 14 Oct 2016 16:28:47 -0400 Subject: [PATCH] Generate container create response from swagger spec. Signed-off-by: Daniel Nephin --- command/container/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/container/create.go b/command/container/create.go index 7bd3856971..7dc644d28c 100644 --- a/command/container/create.go +++ b/command/container/create.go @@ -148,7 +148,7 @@ func newCIDFile(path string) (*cidFile, error) { return &cidFile{path: path, file: f}, nil } -func createContainer(ctx context.Context, dockerCli *command.DockerCli, config *container.Config, hostConfig *container.HostConfig, networkingConfig *networktypes.NetworkingConfig, cidfile, name string) (*types.ContainerCreateResponse, error) { +func createContainer(ctx context.Context, dockerCli *command.DockerCli, config *container.Config, hostConfig *container.HostConfig, networkingConfig *networktypes.NetworkingConfig, cidfile, name string) (*container.ContainerCreateCreatedBody, error) { stderr := dockerCli.Err() var containerIDFile *cidFile