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:
@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user