From c5e15cfd5fdf43257868e7952db1716bc12da4e3 Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Mon, 3 Apr 2017 15:05:57 -0700 Subject: [PATCH] Add labels/annotations to container status Signed-off-by: Mrunal Patel --- server/container_status.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/server/container_status.go b/server/container_status.go index 6e4d9312..4c60cecc 100644 --- a/server/container_status.go +++ b/server/container_status.go @@ -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, }, }