mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
Client handles updates to KillTimeout and Restart Policy
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user