Merge pull request #425 from mrunalp/ctr_status_labels

Add labels/annotations to container status
This commit is contained in:
Antonio Murdaca 2017-04-04 11:17:44 +02:00 committed by GitHub
commit 6b704d1f78

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,
},
}