driver/java: populate OOM killed exit result. (#19818)

This commit is contained in:
James Rasell
2024-01-26 09:09:16 +01:00
committed by GitHub
parent 9e6f12ef2d
commit 34fe96a420
2 changed files with 6 additions and 2 deletions

3
.changelog/19818.txt Normal file
View File

@@ -0,0 +1,3 @@
```release-note:bug
driver/java: Ensure the OOM killed response is populated when the task exits
```

View File

@@ -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,
}
}