Skip to content

Commit

Permalink
backport of ec4fa55
Browse files Browse the repository at this point in the history
(just the bug fix, not the refactoring)
  • Loading branch information
temp authored and shoenig committed Jun 26, 2023
1 parent 357dcd0 commit edb9626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/docker/handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (h *taskHandle) Kill(killTimeout time.Duration, signal string) error {
// Signal is used to kill the container with the desired signal before
// calling StopContainer
if signal == "" {
err = h.client.StopContainer(h.containerID, uint(killTimeout.Seconds()))
err = h.waitClient.StopContainer(h.containerID, uint(killTimeout.Seconds()))
} else {
ctx, cancel := context.WithTimeout(context.Background(), killTimeout)
defer cancel()
Expand Down

0 comments on commit edb9626

Please sign in to comment.