mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 16:57:18 +00:00
shimv2: fix the issue of passing the wrong container id
It should pass the container id instead of sandbox id. Fixes:#1672 Signed-off-by: lifupan <lifupan@gmail.com>
This commit is contained in:
parent
100db8abdc
commit
5e1f5ca735
@ -453,7 +453,7 @@ func (s *service) Delete(ctx context.Context, r *taskAPI.DeleteRequest) (_ *task
|
||||
}
|
||||
|
||||
s.send(&eventstypes.TaskDelete{
|
||||
ContainerID: s.id,
|
||||
ContainerID: c.id,
|
||||
Pid: s.pid,
|
||||
ExitStatus: c.exit,
|
||||
ExitedAt: c.exitTime,
|
||||
|
Loading…
Reference in New Issue
Block a user