Propagate context to exec delete
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
f711f2bdc3
commit
96e0ba1afb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue