container_status: expose LogPath as requested by the CRI

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2018-02-12 11:38:27 +01:00
parent e5fc48a3ca
commit a12990d4a0
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -99,6 +99,7 @@ func (s *Server) ContainerStatus(ctx context.Context, req *pb.ContainerStatusReq
}
resp.Status.State = rStatus
resp.Status.LogPath = c.LogPath()
logrus.Debugf("ContainerStatusResponse: %+v", resp)
return resp, nil