From 62c89c1c50b65f2b938d921a0db951b8d74bf4a9 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Wed, 27 Apr 2016 18:42:16 -0700 Subject: [PATCH] Fix including memory stats field Signed-off-by: Tonis Tiigi --- api/grpc/server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/grpc/server/server.go b/api/grpc/server/server.go index 440e0e0..22ae157 100644 --- a/api/grpc/server/server.go +++ b/api/grpc/server/server.go @@ -401,6 +401,7 @@ func convertToPb(st *runtime.Stat) *types.StatsResponse { Failcnt: st.Memory.Kernel.Failcnt, Limit: st.Memory.Kernel.Limit, }, + Stats: st.Memory.Raw, } pbSt.CgroupStats.BlkioStats = &types.BlkioStats{ IoServiceBytesRecursive: convertBlkioEntryToPb(st.Blkio.IoServiceBytesRecursive),