Skip to content

Commit

Permalink
backport of ec4fa55 (#17740)
Browse files Browse the repository at this point in the history
(just the bug fix, not the refactoring)

Co-authored-by: temp <temp@hashicorp.com>
  • Loading branch information
hc-github-team-nomad-core and temp committed Jun 27, 2023
1 parent 357dcd0 commit e1e7277
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 e1e7277

Please sign in to comment.