mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
Small test cleanup
This commit is contained in:
@@ -219,8 +219,6 @@ func (h *javaHandle) run() {
|
||||
close(h.doneCh)
|
||||
if err != nil {
|
||||
h.waitCh <- err
|
||||
} else if !h.cmd.Command().ProcessState.Success() {
|
||||
h.waitCh <- fmt.Errorf("task exited with error")
|
||||
}
|
||||
close(h.waitCh)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user