Revert "Propagate context to exec delete"

This reverts commit b6430ba41388f0300ceea95c10738cbe1a9a7b10.

Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
Upstream-commit: a9ae6c7547466f754da01a53c6be455c555e6102
Component: engine
This commit is contained in:
Andrew Hsu
2018-12-17 12:06:35 +00:00
parent 9f8d1a9995
commit b00fb7cf05

View File

@ -384,7 +384,7 @@ func (c *client) Exec(ctx context.Context, containerID, processID string, spec *
defer close(stdinCloseSync)
if err = p.Start(ctx); err != nil {
p.Delete(ctx)
p.Delete(context.Background())
ctr.deleteProcess(processID)
return -1, wrapError(err)
}