From 8a1a13d81644f9e078e449b1091129df35aa188b Mon Sep 17 00:00:00 2001 From: CMGS Date: Mon, 10 Sep 2018 14:02:56 +0800 Subject: [PATCH] use container start --- cluster/calcium/create_container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/calcium/create_container.go b/cluster/calcium/create_container.go index b2ad9affd..dc948feb5 100644 --- a/cluster/calcium/create_container.go +++ b/cluster/calcium/create_container.go @@ -441,7 +441,7 @@ func (c *Calcium) createAndStartContainer( } } - if err = node.Engine.ContainerStart(ctx, containerCreated.ID, enginetypes.ContainerStartOptions{}); err != nil { + if err = container.Start(ctx); err != nil { createContainerMessage.Error = err return createContainerMessage }