Merge pull request #425 from mrunalp/ctr_status_labels
Add labels/annotations to container status
This commit is contained in:
commit
6b704d1f78
1 changed files with 5 additions and 3 deletions
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue