driver/qemu: populate OOM killed exit result. (#19830)

This commit is contained in:
James Rasell
2024-01-29 08:34:27 +01:00
committed by GitHub
parent 34fe96a420
commit 8d6067e987
2 changed files with 6 additions and 2 deletions

3
.changelog/19830.txt Normal file
View File

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

View File

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