mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
driver/java: populate OOM killed exit result. (#19818)
This commit is contained in:
3
.changelog/19818.txt
Normal file
3
.changelog/19818.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:bug
|
||||
driver/java: Ensure the OOM killed response is populated when the task exits
|
||||
```
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user