mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Change how a result is returned form wait
This commit is contained in:
@@ -312,6 +312,6 @@ func (h *rktHandle) run() {
|
||||
// TODO: Better exit code parsing.
|
||||
code = 1
|
||||
}
|
||||
h.waitCh <- cstructs.NewWaitResult(code, 0, err)
|
||||
h.waitCh <- &cstructs.WaitResult{ExitCode: code, Signal: 0, Err: err}
|
||||
close(h.waitCh)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user