daemon/start: Revert passing ctx to ctr.Start
This caused integration tests to timeout in the CI Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
parent
def549c8f6
commit
a181a825c8
1 changed files with 2 additions and 2 deletions
|
@ -183,8 +183,8 @@ func (daemon *Daemon) containerStart(ctx context.Context, container *container.C
|
|||
}
|
||||
|
||||
// TODO(mlaventure): we need to specify checkpoint options here
|
||||
tsk, err := ctr.Start(ctx, checkpointDir,
|
||||
container.StreamConfig.Stdin() != nil || container.Config.Tty,
|
||||
tsk, err := ctr.Start(context.TODO(), // Passing ctx to ctr.Start caused integration tests to be stuck in the cleanup phase
|
||||
checkpointDir, container.StreamConfig.Stdin() != nil || container.Config.Tty,
|
||||
container.InitializeStdio)
|
||||
if err != nil {
|
||||
if err := ctr.Delete(context.Background()); err != nil {
|
||||
|
|
Loading…
Reference in a new issue