mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
get KillTimeout in seconds, not nanoseconds
This commit is contained in:
@@ -1052,7 +1052,7 @@ func (d *DockerDriver) createContainerConfig(ctx *ExecContext, task *structs.Tas
|
||||
User: task.User,
|
||||
Tty: driverConfig.TTY,
|
||||
OpenStdin: driverConfig.Interactive,
|
||||
StopTimeout: int(task.KillTimeout),
|
||||
StopTimeout: int(task.KillTimeout.Seconds()),
|
||||
}
|
||||
|
||||
if driverConfig.WorkDir != "" {
|
||||
|
||||
Reference in New Issue
Block a user