container: Don't call OCI runtime status
We get notified of container exits by inotify so we already have updated status of the container in memory state. Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
efc29e3dd2
commit
1cf5f8ee3b
1 changed files with 0 additions and 5 deletions
|
@ -26,11 +26,6 @@ func (s *Server) ContainerStatus(ctx context.Context, req *pb.ContainerStatusReq
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err = s.Runtime().UpdateStatus(c); err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
s.ContainerStateToDisk(c)
|
|
||||||
|
|
||||||
containerID := c.ID()
|
containerID := c.ID()
|
||||||
resp := &pb.ContainerStatusResponse{
|
resp := &pb.ContainerStatusResponse{
|
||||||
Status: &pb.ContainerStatus{
|
Status: &pb.ContainerStatus{
|
||||||
|
|
Loading…
Reference in a new issue