Skip to content

Commit

Permalink
backport of commit 34fe96a (#19826)
Browse files Browse the repository at this point in the history
Co-authored-by: James Rasell <[email protected]>
  • Loading branch information
hc-github-team-nomad-core and jrasell authored Jan 26, 2024
1 parent 71c6d8a commit 4a19638
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/19818.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
driver/java: Ensure the OOM killed response is populated when the task exits
```
5 changes: 3 additions & 2 deletions drivers/java/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,9 @@ func (d *Driver) handleWait(ctx context.Context, handle *taskHandle, ch chan *dr
}
} else {
result = &drivers.ExitResult{
ExitCode: ps.ExitCode,
Signal: ps.Signal,
ExitCode: ps.ExitCode,
Signal: ps.Signal,
OOMKilled: ps.OOMKilled,
}
}

Expand Down

0 comments on commit 4a19638

Please sign in to comment.