Skip to content

Commit

Permalink
use container start
Browse files Browse the repository at this point in the history
  • Loading branch information
CMGS committed Sep 10, 2018
1 parent 1d79272 commit 8a1a13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/calcium/create_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 8a1a13d

Please sign in to comment.