Client handles updates to KillTimeout and Restart Policy

This commit is contained in:
Alex Dadgar
2016-02-03 19:43:44 -08:00
parent 5d297a446f
commit 03aca9887b
11 changed files with 108 additions and 14 deletions

View File

@@ -221,6 +221,9 @@ func (h *javaHandle) WaitCh() chan *cstructs.WaitResult {
}
func (h *javaHandle) Update(task *structs.Task) error {
// Store the updated kill timeout.
h.killTimeout = task.KillTimeout
// Update is not possible
return nil
}