Merge pull request #139 from andrewhsu/ctxt
[18.09] Propagate context to exec delete Upstream-commit: cc7773c787f400e7b11472878c3a1e55823e9c46 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(context.Background())
|
||||
p.Delete(ctx)
|
||||
ctr.deleteProcess(processID)
|
||||
return -1, wrapError(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user