1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-08-20 08:54:03 +00:00

runtime: return hypervisor Pid in TaskExit event

Other RPC calls return Pid of hypervisor, the TaskExit should
return the same Pid.

Fixes: 

Signed-off-by: bin <bin@hyper.sh>
This commit is contained in:
bin 2021-03-09 17:41:44 +08:00
parent 856ffb85fc
commit b034458960

View File

@ -24,7 +24,7 @@ import (
func cReap(s *service, status int, id, execid string, exitat time.Time) {
s.ec <- exit{
timestamp: exitat,
pid: s.pid,
pid: s.hpid,
status: status,
id: id,
execid: execid,