Add labels/annotations to container status
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
bbe2dea0a6
commit
c5e15cfd5f
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()
|
image := c.Image()
|
||||||
resp := &pb.ContainerStatusResponse{
|
resp := &pb.ContainerStatusResponse{
|
||||||
Status: &pb.ContainerStatus{
|
Status: &pb.ContainerStatus{
|
||||||
Id: containerID,
|
Id: containerID,
|
||||||
Metadata: c.Metadata(),
|
Metadata: c.Metadata(),
|
||||||
Image: image,
|
Labels: c.Labels(),
|
||||||
|
Annotations: c.Annotations(),
|
||||||
|
Image: image,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue