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