Skip to content

Commit

Permalink
drivers/docker/driver.go: change default signal for docker driver to …
Browse files Browse the repository at this point in the history
…SIGTERM?
  • Loading branch information
jf committed Sep 19, 2020
1 parent fb170f3 commit 84e5907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/docker/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ func (d *Driver) StopTask(taskID string, timeout time.Duration, signal string) e
}

if signal == "" {
signal = "SIGINT"
signal = "SIGTERM"
}

// Windows Docker daemon does not support SIGINT, SIGTERM is the semantic equivalent that
Expand Down

0 comments on commit 84e5907

Please sign in to comment.