driver/rawexec: populate OOM killed exit result. (#19829)

This commit is contained in:
James Rasell
2024-01-29 09:54:52 +01:00
committed by GitHub
parent 8d6067e987
commit 10324566ae
2 changed files with 6 additions and 2 deletions

3
.changelog/19829.txt Normal file
View File

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

View File

@@ -393,8 +393,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,
}
}