Add labels/annotations to container status

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel 2017-04-03 15:05:57 -07:00
parent bbe2dea0a6
commit c5e15cfd5f

View file

@ -24,9 +24,11 @@ func (s *Server) ContainerStatus(ctx context.Context, req *pb.ContainerStatusReq
image := c.Image()
resp := &pb.ContainerStatusResponse{
Status: &pb.ContainerStatus{
Id: containerID,
Metadata: c.Metadata(),
Image: image,
Id: containerID,
Metadata: c.Metadata(),
Labels: c.Labels(),
Annotations: c.Annotations(),
Image: image,
},
}